Skip to content

Commit

Permalink
Fix : silentRefresh
Browse files Browse the repository at this point in the history
  • Loading branch information
oikkoikk committed Oct 5, 2023
1 parent 8c17970 commit 6ad6250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function useAuth() {
return response;
};

useQuery([QueryKeys.REFRESH], silentRefresh, {
useQuery([QueryKeys.REFRESH], () => silentRefresh(), {
enabled: !!session,
refetchInterval: REFRESH_PERIOD,
refetchIntervalInBackground: true,
Expand Down

0 comments on commit 6ad6250

Please sign in to comment.