Skip to content

Instantly share code, notes, and snippets.

@tomodutch
Created December 30, 2018 17:43
Show Gist options
  • Select an option

  • Save tomodutch/8f7cfe6cd630934d4952a242deabc475 to your computer and use it in GitHub Desktop.

Select an option

Save tomodutch/8f7cfe6cd630934d4952a242deabc475 to your computer and use it in GitHub Desktop.

Revisions

  1. tomodutch created this gist Dec 30, 2018.
    2 changes: 2 additions & 0 deletions todos.ts
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    export const useTodosQuery = () =>
    useQuery<GetTodos, GetTodosVariables>(getTodosQuery);