mirror of
https://codeberg.org/MarkusThielker/next-ory.git
synced 2025-04-19 00:51:18 +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!
|
// Something else happened!
|
||||||
return Promise.reject(err);
|
return Promise.reject(err);
|
||||||
});
|
});
|
||||||
}, deps);
|
}, [deps]);
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
if (logoutToken) {
|
if (logoutToken) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue