Fixed waitForPromise not being set to false
This commit is contained in:
1 parent
1a62aa192e
commit
74ba579919
1 file changed
+3
@@ -127,6 +127,9 @@ export const useAuth = () => {
|
|||||||
|
|
||||||
return null
|
return null
|
||||||
})
|
})
|
||||||
|
.finally(() => {
|
||||||
|
waitForPromise = false
|
||||||
|
})
|
||||||
|
|
||||||
return refreshPromise
|
return refreshPromise
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user