Page Reload Fixed #871

Merged
ameye merged 1 commits from reload-bug-fix into master 2025-07-23 17:34:32 +00:00
+1 -1
View File
@@ -90,7 +90,7 @@ const AuthRoute = ({ redirectPath = "/login", children }) => {
apiCall
.loadProfile()
.then((res) => {
if (!res?.data?.internal_return || res?.data?.internal_return < 0) {
if (!res?.data) {
setIsLogin({ loading: false, status: false });
return;
}