diff --git a/react-docs/source/mutations.md b/react-docs/source/mutations.md index e1aa0a61ee0..13f5031baba 100644 --- a/react-docs/source/mutations.md +++ b/react-docs/source/mutations.md @@ -119,7 +119,7 @@ const submitRepository = /* as above */; const NewEntryWithData = graphql(submitRepository, { props: ({ mutate }) => ({ submit: (repoFullName) => mutate({ variables: { repoFullName } }), - }); + }), })(NewEntry); ```