diff --git a/components/Layout.tsx b/components/Layout.tsx index cf3ad72d..0526ec8c 100644 --- a/components/Layout.tsx +++ b/components/Layout.tsx @@ -43,7 +43,7 @@ const Layout = ({ children }: { children: ReactNode }) => { const { width } = useViewport() useEffect(() => { - if (width < breakpoints.lg) { + if (width < breakpoints.xl) { setIsCollapsed(true) } }, [width]) @@ -93,7 +93,7 @@ const Layout = ({ children }: { children: ReactNode }) => {