Skip to content

Commit 93054a2

Browse files
authored
Исправил расположение key (#331)
1 parent 6c03818 commit 93054a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/features/questions/create-question/CreateQuestionPage.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,8 @@ const CreateQuestion = () => {
217217

218218
<div className="d-flex flex-wrap">
219219
{tags.map((tag) => (
220-
<StyledTagBlock>
221-
<Tag key={tag} closable onClose={() => removeTag(tag)}>
220+
<StyledTagBlock key={tag}>
221+
<Tag closable onClose={() => removeTag(tag)}>
222222
{tag}
223223
</Tag>
224224
</StyledTagBlock>

0 commit comments

Comments
 (0)