Skip to content

Commit c8197f4

Browse files
talissoncostaclaude
andcommitted
fix(usage): let the first breakdown row lose its top border
The rule was there to drop the line above the first row, but List returned a fragment, so the rows were siblings of the section header and the first one was never :first-child. Wrapping them makes the rule apply rather than deleting a line that was describing the intent correctly. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent f4702d1 commit c8197f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • frontend/web/components/pages/usage/components/UsageBreakdown/components/List

frontend/web/components/pages/usage/components/UsageBreakdown/components/List/List.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const List: FC<ListProps> = ({ rows }) => {
2525
const shares = sharesOf(rows.map((row) => row.value))
2626

2727
return (
28-
<>
28+
<div>
2929
{rows.map((row, index) => (
3030
<Row
3131
key={row.key}
@@ -36,7 +36,7 @@ const List: FC<ListProps> = ({ rows }) => {
3636
share={shares[index]}
3737
/>
3838
))}
39-
</>
39+
</div>
4040
)
4141
}
4242

0 commit comments

Comments
 (0)