feat: add 'Unique' tag display in ArrCard component for unique imports

This commit is contained in:
Sam Chau
2025-01-10 00:25:00 +10:30
parent e318f04f28
commit 98d14f54dd

View File

@@ -72,10 +72,18 @@ const ArrCard = ({
<span
key={index}
className='px-2 py-0.5 text-xs font-medium rounded-full
bg-blue-500/20 text-blue-300 border border-blue-500/20'>
bg-blue-500/20 text-blue-300 border border-blue-500/20'>
{tag}
</span>
))}
{import_as_unique && (
<span
className='px-2 py-0.5 text-xs font-medium rounded-full
bg-green-500/20 text-green-300 border border-green-500/20
flex items-center'>
Unique
</span>
)}
</div>
</div>