diff --git a/basic/src/components/DetailPage.js b/basic/src/components/DetailPage.js index fb83af98a..aefd869fe 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 }