diff --git a/docs/Create.md b/docs/Create.md index 74dbb97c84b..a963334a0be 100644 --- a/docs/Create.md +++ b/docs/Create.md @@ -375,8 +375,8 @@ const CreateRelatedCommentButton = ({ record }) => ( component={Link} to={{ pathname: '/comments/create', - state: { record: { post_id: record.id } }, }} + state={{ record: { post_id: record.id } }} > Write a comment for that post