Skip to content

Commit

Permalink
Run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
eddeee888 committed Jan 15, 2025
1 parent ee24527 commit 66159fb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions website/src/pages/docs/guides/react-vue.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -535,11 +535,7 @@ export function useGraphQL<TResult, TVariables>(
...[variables]: TVariables extends Record<string, never> ? [] : [TVariables]
): UseQueryResult<TResult> {
return useQuery([(document.definitions[0] as any).name.value, variables], async ({ queryKey }) =>
request(
'https://swapi-graphql.netlify.app/graphql',
document,
queryKey[1] ? queryKey[1] : undefined
)
request('https://swapi-graphql.netlify.app/graphql', document, queryKey[1] ? queryKey[1] : undefined)
)
}
```
Expand Down

0 comments on commit 66159fb

Please sign in to comment.