Skip to content

Commit

Permalink
Revert refetchOnMount to true for refetchOptions and useMoonpayRegist…
Browse files Browse the repository at this point in the history
…ration
  • Loading branch information
nhohb committed Sep 17, 2024
1 parent f2f1bee commit 47363e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const useMoonpayRegistration = (
return result || {}
},
refetchOnWindowFocus: true,
refetchOnMount: 'always',
refetchOnMount: true,
refetchInterval: 1000,
refetchIntervalInBackground: true,
enabled: !!currentExternalTransactionId && !isCompleted,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/query/reactQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const refetchOptions: DefaultOptions<Error> = {
meta: {
isRefetchQuery: true,
},
refetchOnMount: 'always',
refetchOnMount: true,
queryKeyHashFn: hashFn,
},
}
Expand Down

0 comments on commit 47363e3

Please sign in to comment.