Skip to content

Commit

Permalink
Merge pull request #7833 from davidhenley/patch-6
Browse files Browse the repository at this point in the history
[Docs] Fix Creating New Choices examples
  • Loading branch information
djhi committed Jun 15, 2022
2 parents 9169c90 + 176baa2 commit 8887c94
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/AutocompleteArrayInput.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ const CreateTag = () => {
},
},
{
onSuccess: ({ data }) => {
onSuccess: (data) => {
setValue('');
onCreate(data);
},
Expand Down
2 changes: 1 addition & 1 deletion docs/AutocompleteInput.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ const CreateCategory = () => {
},
},
{
onSuccess: ({ data }) => {
onSuccess: (data) => {
setValue('');
onCreate(data);
},
Expand Down
2 changes: 1 addition & 1 deletion docs/SelectArrayInput.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ const CreateTag = () => {
},
},
{
onSuccess: ({ data }) => {
onSuccess: (data) => {
setValue('');
onCreate(data);
},
Expand Down
2 changes: 1 addition & 1 deletion docs/SelectInput.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ const CreateCategory = () => {
},
},
{
onSuccess: ({ data }) => {
onSuccess: (data) => {
setValue('');
onCreate(data);
},
Expand Down

0 comments on commit 8887c94

Please sign in to comment.