Skip to content

Commit 38a269d

Browse files
committed
refactor(react-query): change the order of const variables
1 parent f2aa150 commit 38a269d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-query/src/useBaseQuery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ export function useBaseQuery<
4949
}
5050
}
5151

52-
const client = useQueryClient(queryClient)
5352
const isRestoring = useIsRestoring()
5453
const errorResetBoundary = useQueryErrorResetBoundary()
54+
const client = useQueryClient(queryClient)
5555
const defaultedOptions = client.defaultQueryOptions(options)
5656

5757
;(client.getDefaultOptions().queries as any)?._experimental_beforeQuery?.(

0 commit comments

Comments
 (0)