fix(shopping): supprimer comparaison editing?.id dans la vue liste (narrowing TS)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-24 16:28:49 +02:00
parent 4435412b21
commit 4eb89165af
@@ -232,7 +232,7 @@ export default function CatalogueModal({ stores, onClose }: CatalogueModalProps)
style={{
display: 'flex', alignItems: 'center', gap: 10,
padding: '8px 12px', borderRadius: 8,
background: editing?.id === p.id ? 'var(--bg-4)' : 'var(--bg-3)',
background: 'var(--bg-3)',
userSelect: 'none',
}}
>