many changes across the app

This commit is contained in:
Daniel
2023-05-01 13:37:01 +03:30
parent c1d1d4a4a2
commit 0d0e53218f
14 changed files with 215 additions and 55 deletions
+1 -1
View File
@@ -41,5 +41,5 @@ export default function ({ children }: Props) {
}, [status]);
if (status !== "loading" && !redirect) return <>{children}</>;
else return <Loader />;
// else return <Loader />;
}
+1 -1
View File
@@ -36,5 +36,5 @@ export default function ({ children }: Props) {
);
else if ((status === "unauthenticated" && !redirect) || !routeExists)
return <>{children}</>;
else return <Loader />;
else return <></>;
}