Use badge primary for tags model

This commit is contained in:
Faisal Amir 2023-12-04 22:05:00 +07:00
parent 8345a13d0c
commit 860dfea3aa

View File

@ -60,7 +60,7 @@ const ExploreModelItem = forwardRef<HTMLDivElement, Props>(({ model }, ref) => {
</span> </span>
<div className="mt-2 flex space-x-2"> <div className="mt-2 flex space-x-2">
{model.metadata.tags.map((tag, i) => ( {model.metadata.tags.map((tag, i) => (
<Badge key={i} themes={i === 0 ? 'primary' : 'pink'}> <Badge key={i} themes="primary">
{tag} {tag}
</Badge> </Badge>
))} ))}