style: collection category style improve (#2638)

This commit is contained in:
katherinehhh 2023-09-13 11:16:19 +08:00 committed by GitHub
parent 3e87ad9083
commit 4c1d186c12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,7 +71,7 @@ const TabBar = ({ item }) => {
const { t } = useTranslation();
const compile = useCompile();
return (
<Space wrap>
<Space>
<Badge color={item.color} />
{t(compile(item.name))}
</Space>