Skip to content

Commit

Permalink
Merge pull request #7086 from kristelvdakker/master
Browse files Browse the repository at this point in the history
Update Inputs.md
  • Loading branch information
djhi committed Jan 14, 2022
2 parents bc8570d + 69b0a83 commit a33b3c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/Inputs.md
Original file line number Diff line number Diff line change
Expand Up @@ -1477,7 +1477,7 @@ const PostCreate = (props) => {
onCreate={() => {
const newTagName = prompt('Enter a new tag');
const newTag = { id: newTagName.toLowerCase(), name: newTagName };
categories.push(newTag);
tags.push(newTag);
return newTag;
}}
source="tags"
Expand Down Expand Up @@ -1869,7 +1869,7 @@ const PostCreate = (props) => {
onCreate={() => {
const newTagName = prompt('Enter a new tag');
const newTag = { id: newTagName.toLowerCase(), name: newTagName };
categories.push(newTag);
tags.push(newTag);
return newTag;
}}
source="tags"
Expand Down

0 comments on commit a33b3c6

Please sign in to comment.