Fixes typo in mutations tutorial
@@ -197,7 +197,7 @@ function StoryLikeButton({story}) {
commitMutation({
variables: {
id: data.id,
- doesViewerLike: !doesViewerLike,
+ doesViewerLike: !data.doesViewerLike,
},
})
// end-change
