diff --git a/authentication/src/ory/hooks.tsx b/authentication/src/ory/hooks.tsx index a03dd8d..302e82e 100644 --- a/authentication/src/ory/hooks.tsx +++ b/authentication/src/ory/hooks.tsx @@ -181,7 +181,7 @@ export function LogoutLink(deps?: DependencyList) { // Something else happened! return Promise.reject(err); }); - }, deps); + }, [deps]); return () => { if (logoutToken) {