diff --git a/components/post/post-commnet-line.tsx b/components/post/post-commnet-line.tsx index 28f7e20..f38d880 100644 --- a/components/post/post-commnet-line.tsx +++ b/components/post/post-commnet-line.tsx @@ -1,5 +1,6 @@ 'use client'; +import useMounted from 'lib/hooks/use-mounted'; import { useTheme } from 'next-themes'; import Image from 'next/image'; import { memo } from 'react'; @@ -8,16 +9,27 @@ const PostCommnetLine = () => { const { systemTheme, theme } = useTheme(); const currentTheme = theme === 'system' ? systemTheme : theme; + const { mounted } = useMounted(); + return ( <>