Skip to content

Commit

Permalink
fix: remove shouldContinueRetryOnFocus on success (#563)
Browse files Browse the repository at this point in the history
Co-authored-by: Avinash <aviesdfsdfsdnash.kumar@instarem.com>
  • Loading branch information
Avi98 and Avinash authored Jun 8, 2020
1 parent 94cdeb5 commit cf9bd9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/queryCache.js
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ export function makeQueryCache() {
query.cancelPromises = () => promise.cancel?.()

const data = await promise
delete query.shouldContinueRetryOnFocus

delete query.cancelPromises
if (query.cancelled) throw query.cancelled
Expand Down

0 comments on commit cf9bd9c

Please sign in to comment.