diff --git a/components/common/Layout/Layout.tsx b/components/common/Layout/Layout.tsx index a60e06203..23dbf4a23 100644 --- a/components/common/Layout/Layout.tsx +++ b/components/common/Layout/Layout.tsx @@ -33,6 +33,8 @@ const Layout: FC = ({ children, pageProps }) => { const [hasScrolled, setHasScrolled] = useState(false) const { locale = 'en-US' } = useRouter() + console.log('Layout') + usePreventScroll({ isDisabled: !(displaySidebar || displayModal), }) @@ -70,7 +72,8 @@ const Layout: FC = ({ children, pageProps }) => {
{children}