Skip to content

Commit

Permalink
Added missing hook dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Dantemss committed Feb 20, 2025
1 parent 564909d commit f9bdf4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ManageCookies.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const ManageCookiesLink = ({children, className, wrapper, ...props}: Mana
}
}
return;
}, [inBrowser]);
}, [cookieYesLoaded, inBrowser]);

if (!inBrowser) { return <><GlobalStyle /></>; }

Expand Down

0 comments on commit f9bdf4d

Please sign in to comment.