- {getFrequencyIcon(chore)}
-
- {formatMetadata()}
-
-
- {/* Labels - Priority chip removed, now shown as vertical bar */}
- {chore.labelsV2?.map(l => (
- {
- e.stopPropagation()
- onChipClick({ label: l })
+
+ ) : (
+ {
- if (e.key === 'Enter' || e.key === ' ') {
- e.stopPropagation()
- onChipClick({ label: l })
- }
- }}
- style={{
- cursor: 'pointer',
- padding: 0,
- margin: 0,
- display: 'flex',
- alignItems: 'center',
- }}
- key={`compact-chorecard-${chore.id}-label-${l.id}`}
>
-
- {l?.name}
-
-
- ))}
-
-