added keys to tags in info room properties

This commit is contained in:
mushka 2022-09-01 04:32:55 +03:00
parent c299456ae6
commit e4226d6e57

View File

@ -35,8 +35,8 @@ const styledLink = (text, href) => (
const styledTagList = (tags) => (
<div className="property-tag_list">
{tags.map((tag) => (
<Tag className="property-tag" label={tag} />
{tags.map((tag, i) => (
<Tag key={i} className="property-tag" label={tag} />
))}
</div>
);