diff --git a/app/posts/[slug]/page.tsx b/app/posts/[slug]/page.tsx index 43cfaf9..ee750ab 100644 --- a/app/posts/[slug]/page.tsx +++ b/app/posts/[slug]/page.tsx @@ -109,7 +109,9 @@ export default async function Post({ params }: { params: Promise<{ slug: string for SEO. )} - {meta.coverImage && } + {meta.coverImage && ( + + )}
{content}
{meta.tags && ( diff --git a/components/content/CodeWrapper.tsx b/components/content/CodeWrapper.tsx index 1f75cc8..6235291 100644 --- a/components/content/CodeWrapper.tsx +++ b/components/content/CodeWrapper.tsx @@ -1,5 +1,3 @@ -'use client' - import { CopyButton } from '@/components/ui/CopyButton' import { getTextContent } from '@/lib/react-node-text' @@ -13,12 +11,9 @@ export function CodeWrapper({ language, children }: CodeWrapperProps) { const lineCount = text.length === 0 ? 1 : text.split('\n').length return ( -
-