fix(usage): use unique database row IDs for event list keys

Fixes #298
This commit is contained in:
lzt404 committed 2026-09-23 21:35:59 +08:00
1 parent 395ac1c4fc
commit 345e228a91
2 files changed
+23 -2

No files matched your search

+2 -1
View File
@@ -95,6 +95,7 @@ type UsageAnalysis = {
type UsageRecord = {
id: string;
row_id: string;
timestamp: string;
latency_ms: number;
ttft_ms: number | null;
@@ -2157,7 +2158,7 @@ function EventsView({
</thead>
<tbody>
{events.items.map((record) => (
<tr key={record.id}>
<tr key={record.row_id}>
{visibleColumns.map((column) => (
<UsageEventCell
key={column.key}