mirror of
https://codeberg.org/MarkusThielker/next-ory.git
synced 2025-04-10 11:58:41 +00:00
Update useEffect dependency array in hooks.tsx.
This commit is contained in:
parent
e62fc35d12
commit
ad1e1e2f86
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ export function LogoutLink(deps?: DependencyList) {
|
|||
// Something else happened!
|
||||
return Promise.reject(err);
|
||||
});
|
||||
}, deps);
|
||||
}, [deps]);
|
||||
|
||||
return () => {
|
||||
if (logoutToken) {
|
||||
|
|
Loading…
Add table
Reference in a new issue