diff --git a/frontend/src/ts/components/pages/settings/custom-setting/Theme.tsx b/frontend/src/ts/components/pages/settings/custom-setting/Theme.tsx index 02ef976b177a..0006ec6f945d 100644 --- a/frontend/src/ts/components/pages/settings/custom-setting/Theme.tsx +++ b/frontend/src/ts/components/pages/settings/custom-setting/Theme.tsx @@ -514,8 +514,6 @@ function ThemeButton(props: { theme: ThemeWithName }): JSXElement { } function Picker(props: { color: ColorName }): JSXElement { - let colorInputRef: HTMLInputElement | undefined = undefined; - const text = () => { if (props.color === "bg") return "background"; if (props.color === "main") return "main"; @@ -583,13 +581,12 @@ function Picker(props: { color: ColorName }): JSXElement { updateThemeColor(props.color, value); }} /> -