diff --git a/biome.json b/biome.json index 150a2aa..b8b1ddc 100644 --- a/biome.json +++ b/biome.json @@ -1,5 +1,10 @@ { "$schema": "https://biomejs.dev/schemas/2.4.16/schema.json", + "css": { + "parser": { + "tailwindDirectives": true + } + }, "linter": { "enabled": true, "rules": { diff --git a/src/components/AppErrorBoundary.tsx b/src/components/AppErrorBoundary.tsx index c82a22d..a5ed14e 100644 --- a/src/components/AppErrorBoundary.tsx +++ b/src/components/AppErrorBoundary.tsx @@ -1,7 +1,7 @@ import { ErrorBoundary, type JSX } from "solid-js"; import { t } from "../lib/i18n"; import { AppError } from "../types/api"; -import Error from "./Error"; +import ErrorComponent from "./ErrorComponent"; export default function AppErrorBoundaryComponent(props: { children: JSX.Element; @@ -10,7 +10,7 @@ export default function AppErrorBoundaryComponent(props: { return ( { - let text; + let text: string; let canReset = true; if (e instanceof TypeError) { text = t("error.networkError"); @@ -26,7 +26,7 @@ export default function AppErrorBoundaryComponent(props: { } return ( - {(u) => (