fix: Fix typecheck, lint issues and errors brought to dnshole summary. (#916)

This commit is contained in:
SeDemal
2024-08-04 20:46:27 +02:00
committed by GitHub
parent 65c6854e44
commit 0cec1dbb17
5 changed files with 50 additions and 65 deletions

View File

@@ -9,13 +9,6 @@ export const { definition, componentLoader, serverDataLoader } = createWidgetDef
showToggleAllButtons: factory.switch({
defaultValue: true,
}),
layout: factory.select({
options: (["grid", "row", "column"] as const).map((value) => ({
value,
label: (t) => t(`widget.dnsHoleControls.option.layout.option.${value}.label`),
})),
defaultValue: "grid",
}),
})),
supportedIntegrations: ["piHole", "adGuardHome"],
errors: {