diff --git a/components/ProjectModal.tsx b/components/ProjectModal.tsx index 3a0d141..9837831 100644 --- a/components/ProjectModal.tsx +++ b/components/ProjectModal.tsx @@ -25,11 +25,12 @@ const ProjectModal: NextPage = () => { const containerRef = useRef(null); - useEffect(() => { + /*useEffect(() => { + console.log(content); if (content && containerRef.current) { containerRef.current.innerHTML = content; } - }, [content]); + }, [content]);*/ if (!visible) return <>; @@ -43,7 +44,7 @@ const ProjectModal: NextPage = () => { // If diaryPages // Show page selector } -
+