Created
August 16, 2022 15:58
-
-
Save paramsinghvc/68861b8dd71ff5ff2a549e988fcfedbf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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