diff --git a/src/core/QueryManager.ts b/src/core/QueryManager.ts index 0614a28f9ff..d30cbe0c9dc 100644 --- a/src/core/QueryManager.ts +++ b/src/core/QueryManager.ts @@ -470,10 +470,6 @@ export class QueryManager { }); } } - const shouldRefetchQueries = - Array.isArray(mutation.refetchQueries) ? - mutation.refetchQueries.length > 0 - : Boolean(mutation.refetchQueries); if ( cacheWrites.length > 0 ||