fix: minor type and ui fixes, fix solid reactivity warning
This commit is contained in:
parent
cd4c5095e5
commit
82413a8212
4 changed files with 47 additions and 35 deletions
|
@ -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()}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue