From 042669f9cc39acdb0b3c689ec97c105b6577030c Mon Sep 17 00:00:00 2001 From: AykutSarac Date: Sat, 13 Jan 2024 12:39:15 +0300 Subject: [PATCH] chore: remove ssr check --- src/layout/Layout/index.tsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/layout/Layout/index.tsx b/src/layout/Layout/index.tsx index 89fc0dc300d..7f186cec171 100644 --- a/src/layout/Layout/index.tsx +++ b/src/layout/Layout/index.tsx @@ -9,14 +9,6 @@ const StyledLayoutWrapper = styled.div` `; const Layout: React.FC<{ children: React.ReactNode }> = ({ children }) => { - const [rendered, setRendered] = React.useState(false); - - React.useEffect(() => { - setRendered(true); - }, []); - - if (!rendered) return null; - return (