Skip to content

Commit 86745a3

Browse files
ci: apply automated fixes
1 parent c418616 commit 86745a3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/query-core/src/queryObserver.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@ export class QueryObserver<
100100

101101
// Check if this query is pending hydration
102102
// If so, skip fetch unless refetchOnMount is explicitly 'always'
103-
const hasPendingHydration = pendingHydrationQueries.has(this.#currentQuery)
103+
const hasPendingHydration = pendingHydrationQueries.has(
104+
this.#currentQuery,
105+
)
104106

105107
const resolvedRefetchOnMount =
106108
typeof this.options.refetchOnMount === 'function'

0 commit comments

Comments
 (0)