We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 45ca38f + 6480164 commit 6628a70Copy full SHA for 6628a70
1 file changed
website/components/telemetry/CostTrendChart.tsx
@@ -74,7 +74,7 @@ export default function CostTrendChart({ data, height = 300 }: CostTrendChartPro
74
borderRadius: '4px',
75
padding: '8px',
76
}}
77
- formatter={(value: number) => `$${value.toFixed(4)}`}
+ formatter={(value) => typeof value === 'number' ? `$${value.toFixed(4)}` : value}
78
/>
79
<Legend />
80
<Line
0 commit comments