fix: correct bug in stats panel date format for "Total Size" stats

This commit is contained in:
92376
2025-04-10 23:50:04 -07:00
committed by GitHub
parent 1a8d71b24f
commit efbe9cf6e2
+2 -1
View File
@@ -90,7 +90,8 @@ const StatsPanel = ({ selector }: { selector: OpSelector }) => {
dataKey="totalSizeBytes"
tickFormatter={(v) => formatBytes(v)}
/>
<Tooltip labelFormatter={(v) => formatBytes(v as number)}/>
<Tooltip labelFormatter={(x) => formatDate(x as number)}
formatter={(y) => [formatBytes(y as number), 'Total Size']}/>
<Legend />
<Line
yAxisId="left"