fix(regression): missing TagsLabel class

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
Sami Mazouz 2023-05-14 21:34:34 +01:00
parent 5b89d3e91a
commit feb968780a
No known key found for this signature in database

View File

@ -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) => {