small think causing refetching and fixing memoization and stuff

This commit is contained in:
talksik
2022-05-05 05:26:35 -05:00
parent 7b00242860
commit 601a50827c
4 changed files with 19 additions and 10 deletions
@@ -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 />