Skip to content

Commit 81ff334

Browse files
ci: apply automated fixes
1 parent a6faf83 commit 81ff334

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/react-query/src/useBaseQuery.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ export function useBaseQuery<
7070
useClearResetErrorBoundary(errorResetBoundary)
7171

7272
// this needs to be invoked before creating the Observer because that can create a cache entry
73-
const isNewCacheEntry = !client.getQueryCache().get(defaultedOptions.queryHash)
73+
const isNewCacheEntry = !client
74+
.getQueryCache()
75+
.get(defaultedOptions.queryHash)
7476

7577
const [observer] = React.useState(
7678
() =>

0 commit comments

Comments
 (0)