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 d250073 commit 5014265Copy full SHA for 5014265
src/core/queryObserver.ts
@@ -371,7 +371,7 @@ export class QueryObserver<
371
private computeRefetchInterval() {
372
return typeof this.options.refetchInterval === 'function'
373
? this.options.refetchInterval(this.currentResult.data, this.currentQuery)
374
- : this.options.refetchInterval ?? 0
+ : this.options.refetchInterval ?? false
375
}
376
377
private updateRefetchInterval(nextInterval: number | false): void {
0 commit comments