From 081c4539876ebec9f8f06b9596f2746d3a6f3c85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=8F=99=EC=98=81=20=EA=B9=80?= Date: Tue, 10 Sep 2024 16:36:08 +0900 Subject: [PATCH] fix: fix hydration error --- src/components/MDXComponents/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/MDXComponents/index.tsx b/src/components/MDXComponents/index.tsx index 7f0b5c3..0f52ff2 100644 --- a/src/components/MDXComponents/index.tsx +++ b/src/components/MDXComponents/index.tsx @@ -55,7 +55,7 @@ export const mdxComponents = (post: Post): MDXComponents => ({ ), - p: ({ children }) =>

{children}

, + p: ({ children }) =>
{children}
, img: (props) => { let imgSrc: string; @@ -77,7 +77,7 @@ export const mdxComponents = (post: Post): MDXComponents => ({ loading="lazy" className={styles.img} /> -

{props.alt}

+
{props.alt}
); },