diff --git a/themes/heo/components/TagGroups.js b/themes/heo/components/TagGroups.js index 5087ad5f..34bf1839 100644 --- a/themes/heo/components/TagGroups.js +++ b/themes/heo/components/TagGroups.js @@ -14,34 +14,30 @@ const TagGroups = ({ tags, className }) => { if (!tags) return <> return ( -
- {tags.map((tag, index) => { - const selected = currentTag === tag.name - return ( - -
-
{tag.name}
- {tag.count - ? ( - {tag.count} - ) - : ( - <> - )} -
- - ) - })} -
+
+ {tags.map((tag, index) => { + const selected = currentTag === tag.name + return ( + +
+
{tag.name}
+ {tag.count + ? ( + {tag.count} + ) + : ( + <> + )} +
+ + ) + })} +
) }