Skip to content

Commit

Permalink
Merge pull request #4263 from almahdi/patch-2
Browse files Browse the repository at this point in the history
Fix typo in CreateEdit.md missing payload key in create call.
  • Loading branch information
ThieryMichel authored Jan 8, 2020
2 parents 9455dc8 + 84629c2 commit 1210e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/CreateEdit.md
Original file line number Diff line number Diff line change
Expand Up @@ -1284,7 +1284,7 @@ const SaveWithNoteButton = props => {
create(
{
data: { ...formState.values, average_note: 10 },
payload: { data: { ...formState.values, average_note: 10 } },
},
{
onSuccess: ({ data: newRecord }) => {
Expand Down

0 comments on commit 1210e50

Please sign in to comment.