Skip to content

Instantly share code, notes, and snippets.

@gc-codesnippets
Created August 25, 2017 15:10
Show Gist options
  • Save gc-codesnippets/8d9df3ca5a0f89d75f827ed645dae140 to your computer and use it in GitHub Desktop.
Save gc-codesnippets/8d9df3ca5a0f89d75f827ed645dae140 to your computer and use it in GitHub Desktop.
import ChangeTodoStatusMutation from '../mutations/ChangeTodoStatusMutation'
// ...
ChangeTodoStatusMutation.commit(
this.props.relay.environment,
complete,
todo,
this.props.viewer.id
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment