Skip to content

Commit

Permalink
Update useQuery.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
madshall authored Jun 1, 2024
1 parent 5a1f428 commit 62ea4a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/graphql-hooks/src/useQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function useQuery<
setCalledDuringSSR(true)
}

const { client, allOptsToStringify } = allOpts
const { client: clientFromOpts, allOptsToStringify } = allOpts
const stringifiedAllOpts = JSON.stringify(allOptsToStringify)
React.useEffect(() => {
if (allOpts.skip) {
Expand Down

0 comments on commit 62ea4a7

Please sign in to comment.