Skip to content

Commit

Permalink
fix: empty map on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
dadiorchen committed Jun 4, 2024
1 parent 0dfe26d commit f5611d7
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/components/LayoutMobile.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const Drawer = dynamic(() => import('./Drawer'), { ssr: false });

const useStyles = makeStyles()((theme) => ({
root: {
height: '100vh',
display: 'flex',
flexDirection: 'column',
},
Expand Down Expand Up @@ -61,13 +62,7 @@ const Layout = forwardRef(({ children }, ref) => {
}

return (
<Box
className={classes.root}
sx={{
height: () =>
typeof window !== 'undefined' && `${window.innerHeight}px`,
}}
>
<Box className={classes.root}>
<Navbar />
<Box sx={{ position: 'relative', width: 1, height: 1 }}>
<Box
Expand Down

0 comments on commit f5611d7

Please sign in to comment.