Fixed sign in redirect on success
This commit is contained in:
@ -22,7 +22,11 @@ function useSignIn() {
|
||||
|
||||
if (token !== undefined) {
|
||||
setToken(token)
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
return { handleSignIn, signInButton: button }
|
||||
|
Reference in New Issue
Block a user