mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-17 03:10:38 +09:00
fix(costs): guard byProject against duplicate null keys, memoize ProviderQuotaCard row aggregations
This commit is contained in:
parent
7db3446a09
commit
3529ccfa85
2 changed files with 45 additions and 13 deletions
|
|
@ -486,7 +486,7 @@ export function Costs() {
|
|||
<div className="space-y-2">
|
||||
{spendData.byProject.map((row, i) => (
|
||||
<div
|
||||
key={row.projectId ?? "unattributed"}
|
||||
key={row.projectId ?? `unattributed-${i}`}
|
||||
className="flex items-center justify-between text-sm"
|
||||
>
|
||||
<span className="truncate">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue