We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c418616 commit 86745a3Copy full SHA for 86745a3
1 file changed
packages/query-core/src/queryObserver.ts
@@ -100,7 +100,9 @@ export class QueryObserver<
100
101
// Check if this query is pending hydration
102
// If so, skip fetch unless refetchOnMount is explicitly 'always'
103
- const hasPendingHydration = pendingHydrationQueries.has(this.#currentQuery)
+ const hasPendingHydration = pendingHydrationQueries.has(
104
+ this.#currentQuery,
105
+ )
106
107
const resolvedRefetchOnMount =
108
typeof this.options.refetchOnMount === 'function'
0 commit comments