fix(products): remove extraneous asset type label beside HERO IMAGE badge on review card
This commit is contained in:
@@ -2295,9 +2295,6 @@ export default function NewProduct() {
|
||||
<span className="text-[10px] font-bold text-primary bg-primary/10 border border-primary/20 px-1.5 py-0.5 rounded uppercase">
|
||||
{role ? role.replace('_', ' ') : 'HERO IMAGE'}
|
||||
</span>
|
||||
{typeName && typeName.toLowerCase() !== (role || '').toLowerCase() && (
|
||||
<span className="text-[10px] text-muted-foreground">({typeName})</span>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user