Skip to content

Commit

Permalink
rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
H34D committed May 8, 2023
1 parent c39f5bf commit cc5ffa4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/provider/modules/session/session.ts
Expand Up @@ -23,7 +23,6 @@ export const useSession = (
data: sessionData,
isLoading: isSessionDataLoading,
isFetching: isSessionDataFetching,
refetch: refetchSessionData,
} = useQuery<ISession | undefined>(
queryKeySessionData,
() => masa?.session.getSession(),
Expand All @@ -42,7 +41,6 @@ export const useSession = (
status,
isLoading: isSessionCheckLoading,
isFetching: isSessionCheckFetching,
refetch: refetchLoggedIn,
error,
} = useQuery<boolean | undefined>(
queryKeySession,
Expand Down Expand Up @@ -72,9 +70,6 @@ export const useSession = (
await clearSession();

logoutCallback?.();

await refetchSessionData();
await refetchLoggedIn();
}
},
[masa, clearSession, isLoggedIn, disconnectAsync]
Expand Down

0 comments on commit cc5ffa4

Please sign in to comment.