Skip to content

Commit 4dbc2ad

Browse files
committed
fix: update tooltip keys in Dashboard for consistency in statistics display
1 parent 94479c2 commit 4dbc2ad

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

web/default/src/pages/Dashboard/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ const Dashboard = () => {
271271
t('dashboard.charts.requests.tooltip'),
272272
]}
273273
labelFormatter={(label) =>
274-
`${t('dashboard.tooltip.date')}: ${formatDate(label)}`
274+
`${t('dashboard.statistics.tooltip.date')}: ${formatDate(label)}`
275275
}
276276
/>
277277
<Line
@@ -325,7 +325,7 @@ const Dashboard = () => {
325325
t('dashboard.charts.quota.tooltip'),
326326
]}
327327
labelFormatter={(label) =>
328-
`${t('dashboard.tooltip.date')}: ${formatDate(label)}`
328+
`${t('dashboard.statistics.tooltip.date')}: ${formatDate(label)}`
329329
}
330330
/>
331331
<Line
@@ -377,7 +377,7 @@ const Dashboard = () => {
377377
t('dashboard.charts.tokens.tooltip'),
378378
]}
379379
labelFormatter={(label) =>
380-
`${t('dashboard.tooltip.date')}: ${formatDate(label)}`
380+
`${t('dashboard.statistics.tooltip.date')}: ${formatDate(label)}`
381381
}
382382
/>
383383
<Line
@@ -422,7 +422,7 @@ const Dashboard = () => {
422422
boxShadow: '0 2px 8px rgba(0,0,0,0.1)',
423423
}}
424424
labelFormatter={(label) =>
425-
`${t('dashboard.tooltip.date')}: ${formatDate(label)}`
425+
`${t('dashboard.statistics.tooltip.date')}: ${formatDate(label)}`
426426
}
427427
/>
428428
<Legend

0 commit comments

Comments
 (0)