Skip to content

Commit debb6a9

Browse files
committed
missing dep
1 parent 6ed228c commit debb6a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/components/RequireAuth/RequireAuth.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const RequireAuth: FC = () => {
3434
return () => {
3535
axios.interceptors.response.eject(interceptorHandle)
3636
}
37-
}, [])
37+
}, [authSend])
3838

3939
if (authState.matches("signedOut")) {
4040
return <Navigate to={navigateTo} state={{ isRedirect: !isHomePage }} />

0 commit comments

Comments
 (0)