Skip to content

Commit

Permalink
chore: remove ssr check
Browse files Browse the repository at this point in the history
  • Loading branch information
AykutSarac committed Jan 13, 2024
1 parent 7ee57cc commit 042669f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/layout/Layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<React.Suspense>
<MantineProvider forceColorScheme="light">
Expand Down

0 comments on commit 042669f

Please sign in to comment.