diff --git a/website/docs/tutorial/mutations-updates.md b/website/docs/tutorial/mutations-updates.md index e712dc35a19ae..d4c950c1d3fe1 100644 --- a/website/docs/tutorial/mutations-updates.md +++ b/website/docs/tutorial/mutations-updates.md @@ -197,7 +197,7 @@ function StoryLikeButton({story}) { commitMutation({ variables: { id: data.id, - doesViewerLike: !data.doesViewerLike, + doesLike: !data.doesViewerLike, }, }) // end-change