diff --git a/gui/src/components/Layout.tsx b/gui/src/components/Layout.tsx index eceacb315..7a56d5a1b 100644 --- a/gui/src/components/Layout.tsx +++ b/gui/src/components/Layout.tsx @@ -59,7 +59,7 @@ const Layout = () => { location.pathname === ROUTES.HOME || location.pathname === ROUTES.HOME_INDEX ); - }, []); + }, [location]); useEffect(() => { (async () => {