fix: minor type and ui fixes, fix solid reactivity warning

This commit is contained in:
Samuel 2024-12-14 11:34:27 +01:00
parent d21f7fa335
commit 537c46d3d7
4 changed files with 47 additions and 35 deletions

View file

@ -1,4 +1,4 @@
import { type Accessor, type Component, createEffect, createResource, Show } from "solid-js";
import { type Accessor, type Component, createResource, Show } from "solid-js";
import type { RouteSectionProps } from "@solidjs/router";
import { type ChartData } from "chart.js";
@ -175,6 +175,14 @@ export const DmId: Component<RouteSectionProps> = (props) => {
<WordCloudChart
options={{
normalized: true,
plugins: {
tooltip: {
enabled: false,
},
legend: {
display: false,
},
},
}}
data={currentMostUsedWordChartData()}
/>