diff --git a/themes/Medium/components/CategoryGroup.js b/themes/Medium/components/CategoryGroup.js
index 8e6b367e..276577c1 100644
--- a/themes/Medium/components/CategoryGroup.js
+++ b/themes/Medium/components/CategoryGroup.js
@@ -12,7 +12,8 @@ const CategoryGroup = ({ currentCategory, categories }) => {
{Object.keys(categories).map(category => {
const selected = currentCategory === category
- return
+ const categoryCount = +categories[category]
+ return
})}
diff --git a/themes/Medium/components/CategoryItem.js b/themes/Medium/components/CategoryItem.js
index 4bb69839..5af5cee7 100644
--- a/themes/Medium/components/CategoryItem.js
+++ b/themes/Medium/components/CategoryItem.js
@@ -2,14 +2,14 @@ import Link from 'next/link'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faFolderOpen, faFolder } from '@fortawesome/free-solid-svg-icons'
-export default function CategoryItem ({ key, selected, category, categoryCount }) {
- return
+export default function CategoryItem ({ selected, category, categoryCount }) {
+ return
{category} {categoryCount && ({ categoryCount })}
+ className={'mr-2'} />{category} {categoryCount && (categoryCount)}