From b8c05c9e3598cf3c8bee93ecda45077521ef8992 Mon Sep 17 00:00:00 2001 From: Bryan Deloeste Date: Mon, 25 Mar 2019 21:35:56 -0400 Subject: [PATCH] Fix typo to DELETE_MUTATION --- basic/src/components/DetailPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basic/src/components/DetailPage.js b/basic/src/components/DetailPage.js index 1463b7a7b..0e4a96e81 100644 --- a/basic/src/components/DetailPage.js +++ b/basic/src/components/DetailPage.js @@ -150,7 +150,7 @@ const PUBLISH_MUTATION = gql` ` const DELETE_MUTATION = gql` - mutation DeleteMutatoin($id: ID!) { + mutation DeleteMutation($id: ID!) { deletePost(id: $id) { id }