fix(beszel): resolve lint errors in widget and API files

Remove unused BeszelStatsData import from beszel router.
Replace non-null assertions with safe fallbacks across beszel
widget files (format.ts, chart.tsx, system-grid, system-stats).
This commit is contained in:
Thomas Camlong committed 2026-06-10 18:13:38 +02:00
1 parent 79b3e5cc18
commit 4b0c69e6a3
5 files changed
+22 -22

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ import {
beszelStatsRequestHandler,
beszelSystemsRequestHandler,
} from "@homarr/request-handler/beszel";
import type { BeszelAlertsData, BeszelStatsData, BeszelSystemRow } from "@homarr/request-handler/beszel";
import type { BeszelAlertsData, BeszelSystemRow } from "@homarr/request-handler/beszel";
import { createManyIntegrationMiddleware } from "../../middlewares/integration";
import { createTRPCRouter, publicProcedure } from "../../trpc";