Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerlinsley committed Jun 25, 2020
2 parents 9a734f6 + 4712c0d commit 8ec83f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/queryCache.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ export function makeQueryCache({ frozen = isServer, defaultConfig } = {}) {

queryCache.prefetchQuery = async (...args) => {
if (
(isObject(args[1]) && args[1].hasOwnProperty('throwOnError')) ||
args[1].hasOwnProperty('force')
isObject(args[1]) &&
(args[1].hasOwnProperty('throwOnError') || args[1].hasOwnProperty('force'))
) {
args[3] = args[1]
args[1] = undefined
Expand Down

0 comments on commit 8ec83f4

Please sign in to comment.