Skip to content

Commit 8ec83f4

Browse files
committed
2 parents 9a734f6 + 4712c0d commit 8ec83f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/queryCache.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ export function makeQueryCache({ frozen = isServer, defaultConfig } = {}) {
227227

228228
queryCache.prefetchQuery = async (...args) => {
229229
if (
230-
(isObject(args[1]) && args[1].hasOwnProperty('throwOnError')) ||
231-
args[1].hasOwnProperty('force')
230+
isObject(args[1]) &&
231+
(args[1].hasOwnProperty('throwOnError') || args[1].hasOwnProperty('force'))
232232
) {
233233
args[3] = args[1]
234234
args[1] = undefined

0 commit comments

Comments
 (0)