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 de18e34 commit 653d33fCopy full SHA for 653d33f
1 file changed
packages/query-core/src/queriesObserver.ts
@@ -158,13 +158,6 @@ export class QueriesObserver extends Subscribable<QueriesObserverListener> {
158
(defaultedOptions) => !matchedQueryHashes.has(defaultedOptions.queryHash),
159
)
160
161
- const matchingObserversSet = new Set(
162
- matchingObservers.map((match) => match.observer),
163
- )
164
- const unmatchedObservers = prevObservers.filter(
165
- (prevObserver) => !matchingObserversSet.has(prevObserver),
166
167
-
168
const getObserver = (options: QueryObserverOptions): QueryObserver => {
169
const defaultedOptions = this.#client.defaultQueryOptions(options)
170
const currentObserver = this.#observers.find(
0 commit comments