Skip to content

Commit 336d045

Browse files
committed
Just use auto for now
1 parent ff04dc6 commit 336d045

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/components/widgets/GameLengthChart.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
// @ts-nocheck
22

33
import { onMount } from "solid-js"
4-
import { BarElement, Chart, Colors, Title, Tooltip, type ChartOptions, type ChartData } from "chart.js"
4+
import Chart from "chart.js/auto"
5+
import { Colors, Title, Tooltip, type ChartOptions, type ChartData } from "chart.js"
56
import { DefaultChart } from "solid-chartjs"
67

7-
Chart.register(Title, Tooltip, Colors, BarElement)
8-
98
type GameLengthProps = {
109
data: Array[]
1110
}

0 commit comments

Comments
 (0)