parseCommitMessage emits type 'other' for unparseable subjects, so metrics.byType can legitimately contain a row whose key is 'other'. The fold-into-'other' code in BarList used the same string for the synthesised bucket — two <li key="other"> siblings, React warns: Encountered two children with the same key, 'other'. Reserve a key '__fold__' that cannot collide with raw input and display 'other' only at render time. The visible label stays the same. |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| lib | ||
| middleware.ts | ||