We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a828b6 commit 4d8f131Copy full SHA for 4d8f131
site/contexts/UserContext.tsx
@@ -39,7 +39,7 @@ export const useUser = (redirectOnError = false): UserContext => {
39
},
40
})
41
}
42
- }, [redirectOnError, requestError])
+ }, [redirectOnError, requestError, router])
43
44
return ctx
45
0 commit comments