diff --git a/src/app.jsx b/src/app.jsx index 03554578..5b03521a 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -209,10 +209,10 @@ function App() { }, []); let location = useLocation(); - // states.currentLocation = location.pathname; - useLayoutEffect(() => { - states.currentLocation = location.pathname; - }, [location.pathname]); + states.currentLocation = location.pathname; + // useLayoutEffect(() => { + // states.currentLocation = location.pathname; + // }, [location.pathname]); useEffect(focusDeck, [location, isLoggedIn]);