From 1f8282193031446443d44cfa3430fe7007dc661c Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kaiser Date: Wed, 11 May 2022 15:49:26 +0200 Subject: [PATCH] Fix Prefilling the Form example --- docs/Create.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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