We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e23f934 commit 51bb60fCopy full SHA for 51bb60f
src/core/setFocusHandler.ts
@@ -28,7 +28,7 @@ const onWindowFocus: FocusHandler = () => {
28
delete query.promise
29
}
30
31
- return !!query.config.refetchOnWindowFocus
+ return Boolean(query.config.refetchOnWindowFocus)
32
})
33
.catch(Console.error)
34
)
0 commit comments