'use client'; import useMounted from 'lib/hooks/use-mounted'; import { useTheme } from 'next-themes'; import Image from 'next/image'; import { memo } from 'react'; const PostCommnetLine = () => { const { systemTheme, theme } = useTheme(); const currentTheme = theme === 'system' ? systemTheme : theme; const { mounted } = useMounted(); return ( <>
{mounted ? ( currentTheme === 'dark' ? ( ) : ( ) ) : ( )}
); }; export default memo(PostCommnetLine);