From 2409a3ed166c8a396c55521046f9a8e23120e10b Mon Sep 17 00:00:00 2001 From: Evan Bonsignori Date: Sat, 24 Jun 2023 16:51:59 -0700 Subject: [PATCH] simplify about site --- about/pages/index.js | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/about/pages/index.js b/about/pages/index.js index 0cdc737..c7f9cf8 100644 --- a/about/pages/index.js +++ b/about/pages/index.js @@ -93,7 +93,7 @@ export default function Home({ content }) { content={content} postLoadingFinished={postLoadingFinished} /> - aboutSectionRef.current.scrollIntoView({ @@ -104,7 +104,7 @@ export default function Home({ content }) { } > - + */} ); // eslint-disable-next-line react-hooks/exhaustive-deps @@ -117,19 +117,19 @@ export default function Home({ content }) { postLoadingFinished, ]); - const SectionsRender = useMemo(() => { - if (!isSunMode && postLoadingFinished) { - return ( - <> - - - - - - ); - } - // eslint-disable-next-line react-hooks/exhaustive-deps - }, [postLoadingFinished, isSunMode]); + // const SectionsRender = useMemo(() => { + // if (!isSunMode && postLoadingFinished) { + // return ( + // <> + // + // + // + // + // + // ); + // } + // // eslint-disable-next-line react-hooks/exhaustive-deps + // }, [postLoadingFinished, isSunMode]); return ( @@ -137,7 +137,6 @@ export default function Home({ content }) { {PageRender} - {SectionsRender} ); }