diff --git a/extensions/tags/js/src/common/helpers/tagsLabel.js b/extensions/tags/js/src/common/helpers/tagsLabel.js index e32d4ced2..b9580e845 100644 --- a/extensions/tags/js/src/common/helpers/tagsLabel.js +++ b/extensions/tags/js/src/common/helpers/tagsLabel.js @@ -7,7 +7,7 @@ export default function tagsLabel(tags, attrs = {}) { const children = []; const { link, ...otherAttrs } = attrs; - attrs.className = classList('TagsLabel', attrs.className); + otherAttrs.className = classList('TagsLabel', otherAttrs.className); if (tags) { sortTags(tags).forEach((tag) => {