fix(client/promoted_attributes): unnecessary space when empty

This commit is contained in:
Elian Doran 2025-11-23 21:51:48 +02:00
parent 11932353f7
commit f83c46d1c7
No known key found for this signature in database

View File

@ -42,14 +42,14 @@ export default function PromotedAttributes() {
return (
<div className="promoted-attributes-widget">
<div className="promoted-attributes-container">
{cells && cells.length > 0 && <div className="promoted-attributes-container">
{note && cells?.map(cell => <PromotedAttributeCell
cell={cell}
cells={cells} setCells={setCells}
shouldFocus={cell === cellToFocus} setCellToFocus={setCellToFocus}
componentId={componentId} note={note}
/>)}
</div>
</div>}
</div>
);
}