fix: add dependency

This commit is contained in:
Dallin Romney 2025-09-12 11:10:59 -06:00
parent af9063dc41
commit c6accdde4e

View file

@ -59,7 +59,7 @@ const Layout = () => {
location.pathname === ROUTES.HOME ||
location.pathname === ROUTES.HOME_INDEX
);
}, []);
}, [location]);
useEffect(() => {
(async () => {