Skip to content

Instantly share code, notes, and snippets.

@david-mart
Created May 23, 2020 23:53
Show Gist options
  • Save david-mart/1651139e9b00a56e795af37c7f393a06 to your computer and use it in GitHub Desktop.
Save david-mart/1651139e9b00a56e795af37c7f393a06 to your computer and use it in GitHub Desktop.
const [updateTask] = useMutation(UPDATE_TASK, {
refetchQueries: ['getTask', 'getTasks'],
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment