fix: add dependency
This commit is contained in:
parent
af9063dc41
commit
c6accdde4e
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ const Layout = () => {
|
|||
location.pathname === ROUTES.HOME ||
|
||||
location.pathname === ROUTES.HOME_INDEX
|
||||
);
|
||||
}, []);
|
||||
}, [location]);
|
||||
|
||||
useEffect(() => {
|
||||
(async () => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue