diff --git a/src/App.tsx b/src/App.tsx index fb8a7e4..e519182 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -4,12 +4,10 @@ import { createSignal, ErrorBoundary, For, - onMount, Show, } from "solid-js"; import { openDatabase } from "./data"; import Graph from "./Graph"; -import { render, renderToString, renderToStringAsync } from "solid-js/web"; type Unit = "kg" | "lb"; diff --git a/src/Graph.tsx b/src/Graph.tsx index 6fa50f2..4758abe 100644 --- a/src/Graph.tsx +++ b/src/Graph.tsx @@ -1,11 +1,4 @@ -import { - createEffect, - createMemo, - For, - Show, - type Accessor, - type JSX, -} from "solid-js"; +import { createMemo, For, Show, type Accessor, type JSX } from "solid-js"; import type { Entry } from "./data"; import { daysInMilliseconds, diff --git a/tsconfig.app.json b/tsconfig.app.json index 7cec2e7..1726615 100644 --- a/tsconfig.app.json +++ b/tsconfig.app.json @@ -18,7 +18,7 @@ /* Linting */ "strict": true, - //"noUnusedLocals": true, + "noUnusedLocals": true, "noUnusedParameters": true, "erasableSyntaxOnly": true, "noFallthroughCasesInSwitch": true,