chore: final build validation and cleanup

This commit is contained in:
2026-06-01 21:40:48 -05:00
parent bca19fa179
commit 769a52b924
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
import { notFound } from 'next/navigation'
import { MDXRemote } from 'next-mdx-remote/rsc'
import { useMDXComponents } from '@/mdx-components'
import { getMDXComponents } from '@/mdx-components'
import remarkMath from 'remark-math'
import remarkGfm from 'remark-gfm'
import smartypants from 'remark-smartypants'
@@ -64,7 +64,7 @@ export default async function PostPage({ params }: { params: Promise<{ slug: str
<div className="prose prose-lg max-w-none">
<MDXRemote
source={post.source}
components={useMDXComponents({})}
components={getMDXComponents({})}
options={{
mdxOptions: {
remarkPlugins: [smartypants, remarkMath, remarkGfm],