Skip to content

Commit a1cf94c

Browse files
committed
fix tsc
1 parent c265801 commit a1cf94c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/dashboard/src/components/minification/CompressionRatioChart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function CompressionRatioChart({ data }: CompressionRatioChartProps) {
4242
<LabelList
4343
dataKey='value'
4444
position='top'
45-
formatter={(label) => `${label}%`}
45+
formatter={(label: string) => `${label}%`}
4646
style={{ fontSize: '10px', fill: '#94a3b8' }}
4747
/>
4848
</Bar>

apps/dashboard/src/components/minification/MinificationTimeChart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export function MinificationTimeChart({ data }: MinificationTimeChartProps) {
3939
<LabelList
4040
dataKey='value'
4141
position='top'
42-
formatter={(label) => `${label}ms`}
42+
formatter={(label: string) => `${label}ms`}
4343
style={{ fontSize: '12px', fill: '#94a3b8' }}
4444
/>
4545
</Bar>

apps/dashboard/src/components/rolldown/BuildTimeChart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export function BuildTimeChart() {
4949
<LabelList
5050
dataKey='value'
5151
position='top'
52-
formatter={(label) => `${label}ms`}
52+
formatter={(label: string) => `${label}ms`}
5353
style={{ fontSize: '11px', fill: '#94a3b8' }}
5454
/>
5555
</Bar>

0 commit comments

Comments
 (0)