fix: avoid duplicate calling of getProfile when signedin
This commit is contained in:
@@ -258,7 +258,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Skip Authentication
|
// Skip Authentication
|
||||||
if (data.skipAuth) return;
|
if (data.skipAuth || $user.fetchingUser) return;
|
||||||
|
|
||||||
// Authentication Steps
|
// Authentication Steps
|
||||||
if (event === 'SIGNED_IN' || event === 'INITIAL_SESSION') {
|
if (event === 'SIGNED_IN' || event === 'INITIAL_SESSION') {
|
||||||
|
|||||||
Reference in New Issue
Block a user