Fixes for Login Bug
This commit is contained in:
@@ -47,8 +47,6 @@ function Chat() {
|
||||
window.location.href = "/onboarding";
|
||||
}
|
||||
});
|
||||
} else {
|
||||
window.location.href = "/login"
|
||||
}
|
||||
}, [authUser])
|
||||
|
||||
|
||||
@@ -56,9 +56,6 @@ function UserProfile() {
|
||||
window.location.href = "/onboarding";
|
||||
}
|
||||
});
|
||||
} else {
|
||||
setIsAuthenticated(false);
|
||||
window.location.href = "/login";
|
||||
}
|
||||
});
|
||||
}, []);
|
||||
|
||||
Reference in New Issue
Block a user