Skip to content

Commit cf9bd9c

Browse files
Avi98Avinash
andauthored
fix: remove shouldContinueRetryOnFocus on success (#563)
Co-authored-by: Avinash <aviesdfsdfsdnash.kumar@instarem.com>
1 parent 94cdeb5 commit cf9bd9c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/queryCache.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ export function makeQueryCache() {
375375
query.cancelPromises = () => promise.cancel?.()
376376

377377
const data = await promise
378+
delete query.shouldContinueRetryOnFocus
378379

379380
delete query.cancelPromises
380381
if (query.cancelled) throw query.cancelled

0 commit comments

Comments
 (0)