diff --git a/src/core/queryCache.js b/src/core/queryCache.js index c3f46d3633..4f85deec8b 100644 --- a/src/core/queryCache.js +++ b/src/core/queryCache.js @@ -168,7 +168,7 @@ export function makeQueryCache({ frozen = isServer, defaultConfig } = {}) { query.scheduleGarbageCollection() } - if (!frozen && queryHash) { + if (!frozen) { queryCache.queries[queryHash] = query if (isServer) {