homarr-labs / homarr

Found unused variables in TypeScript code JS-0356
Performance
Major
2 occurrences in this check
'factory' is defined but never used
 8export const { componentLoader, definition, serverDataLoader } = createWidgetDefinition("hardwareUsage", {
 9  icon: IconVideo,
10  supportedIntegrations: ["getDashDot"],
11  options: optionsBuilder.from((factory) => ({})),12})
13  .withServerData(() => import("./serverData"))
14  .withDynamicImport(() => import("./component"));
 1import { IconVideo } from "@tabler/icons-react";
 2
 3import { z } from "@homarr/validation"; 4
 5import { createWidgetDefinition } from "../definition";
 6import { optionsBuilder } from "../options";