From c6accdde4e4928749361c5fefa4385342fe03a32 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Fri, 12 Sep 2025 11:10:59 -0600 Subject: [PATCH] fix: add dependency --- gui/src/components/Layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () => {