Skip to content

Commit

Permalink
Just use auto for now
Browse files Browse the repository at this point in the history
  • Loading branch information
reneklacan committed Feb 10, 2024
1 parent ff04dc6 commit 336d045
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/widgets/GameLengthChart.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
// @ts-nocheck

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

Chart.register(Title, Tooltip, Colors, BarElement)

type GameLengthProps = {
data: Array[]
}
Expand Down

0 comments on commit 336d045

Please sign in to comment.