Skip to content

Commit 51bb60f

Browse files
fix: Update setFocusHandler.ts (#811)
1 parent e23f934 commit 51bb60f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/setFocusHandler.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const onWindowFocus: FocusHandler = () => {
2828
delete query.promise
2929
}
3030

31-
return !!query.config.refetchOnWindowFocus
31+
return Boolean(query.config.refetchOnWindowFocus)
3232
})
3333
.catch(Console.error)
3434
)

0 commit comments

Comments
 (0)