diff --git a/components/AppShell.jsx b/components/AppShell.jsx index 2e87218..859257e 100644 --- a/components/AppShell.jsx +++ b/components/AppShell.jsx @@ -52,7 +52,7 @@ const CurrentPage = ({ page, pageProps = {} }) => { }; const AppShell = ({ page, pageProps }) => { - const [location, setLocation] = useLocation(); + const [location] = useLocation(); const showMenu = Store.useState(selectors.getMenuOpen); const showNotifications = Store.useState(selectors.getNotificationsOpen); @@ -80,7 +80,7 @@ const AppShell = ({ page, pageProps }) => { } ); - console.log('Got location', location, '/settings' === location); + console.log('Got location', location); // This is an example app layout. We've got a hidden menu that will be toggled // @@ -97,7 +97,6 @@ const AppShell = ({ page, pageProps }) => {