reload fixed

This commit was merged in pull request #871.
This commit is contained in:
victorAnumudu
2025-07-23 17:03:45 +01:00
parent fe1ab675a4
commit ca5a036e80
+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;
}