Skip to content

Commit 22aed72

Browse files
committed
fix: typings
1 parent 394e8c5 commit 22aed72

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/EnergyConsumptionChart.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import {
33
BarElement,
44
CategoryScale,
55
Chart as ChartJS,
6+
ChartData,
67
Legend,
78
LinearScale,
89
} from "chart.js"
@@ -224,7 +225,7 @@ const EnergyConsumptionChart = () => {
224225
},
225226
},
226227
},
227-
} satisfies ChartOptions
228+
}
228229

229230
// chart custom legend
230231
const chartLegend = wrapLabel(

0 commit comments

Comments
 (0)