Skip to content

Instantly share code, notes, and snippets.

@paramsinghvc
Created August 16, 2022 15:58
export function useMeQuery(baseOptions?: Apollo.QueryHookOptions<MeQuery, MeQueryVariables>) {
const options = {...defaultOptions, ...baseOptions}
return Apollo.useQuery<MeQuery, MeQueryVariables>(MeDocument, options);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment