small think causing refetching and fixing memoization and stuff
This commit is contained in:
@@ -50,7 +50,7 @@ export default function ProtectedRoute({
|
||||
refetch();
|
||||
}, [jwtToken]);
|
||||
|
||||
if (isLoading || isFetching) {
|
||||
if (isLoading) {
|
||||
return (
|
||||
<div className="container h-screen w-screen flex flex-col justify-center mx-10">
|
||||
<SkeletonLoader />
|
||||
|
||||
Reference in New Issue
Block a user