Advertisement
bolo17

mutation={CREATE_TASK}

Jul 6th, 2020
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. mutation={CREATE_TASK}
  2. import CREATE_TASK from './gql/createTask';
  3. 9
  4.  
  5. 10
  6. const useCreateTask = () => {
  7. 11
  8. const [mutation, { data, ...rest }] = useMutation<
  9. 12
  10. Pick<Mutation, 'createTask'>,
  11. 13
  12. MutationCreateTaskArgs
  13. 14
  14. >(CREATE_TASK);
  15.  
  16. get link:https://ouo.io/JDM0OQ
  17. https://www.clictune.com/8kNE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement