Skip to content

Commit

Permalink
Update src/core/QueryManager.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Lenz Weber-Tronic <[email protected]>
  • Loading branch information
vladar and phryneas authored Jan 24, 2024
1 parent e3d4b4d commit 21f1639
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/core/QueryManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -470,10 +470,6 @@ export class QueryManager<TStore> {
});
}
}
const shouldRefetchQueries =
Array.isArray(mutation.refetchQueries) ?
mutation.refetchQueries.length > 0
: Boolean(mutation.refetchQueries);

if (
cacheWrites.length > 0 ||
Expand Down

0 comments on commit 21f1639

Please sign in to comment.