Skip to content

Commit

Permalink
Not retry authRefresh query on error
Browse files Browse the repository at this point in the history
  • Loading branch information
Selvio committed Nov 29, 2024
1 parent 505c9d9 commit 5e2340e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/context/AppContextProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ const AppContextProvider: FC<PropsWithChildren> = ({ children }) => {
queryFn: () =>
authRefresh({ newReference: publicKeyHashHex ?? "", sessionId }),
enabled: !accountData && !!sessionId && !!publicKeyHashHex,
retry: false,
});

const { data: globalStats, isLoading: isLoadingGlobalStats } =
Expand Down

0 comments on commit 5e2340e

Please sign in to comment.