From cf9bd9c1671274903879945f4802ca23b5a25bbd Mon Sep 17 00:00:00 2001 From: Avinash <9958703925.dad@gmail.com> Date: Tue, 9 Jun 2020 00:28:20 +0530 Subject: [PATCH] fix: remove shouldContinueRetryOnFocus on success (#563) Co-authored-by: Avinash --- src/queryCache.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/queryCache.js b/src/queryCache.js index 4dc47f72cf..47902339d0 100644 --- a/src/queryCache.js +++ b/src/queryCache.js @@ -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