diff --git a/src/components/ThemeSettings/components/SettingColorComponent.tsx b/src/components/ThemeSettings/components/SettingColorComponent.tsx index 9c300e7f6..34e282a39 100644 --- a/src/components/ThemeSettings/components/SettingColorComponent.tsx +++ b/src/components/ThemeSettings/components/SettingColorComponent.tsx @@ -34,7 +34,7 @@ function EditPencil({ className, color }) { ); } -function ColorPicker(props: ColorPickerProps) { +function ColorPicker(props: ColorPickerProps & { width: number; height: number; }) { const [color, setColor] = useState(props.value); const correctedColor = color ? `#${color.toString(16).padStart(6, "0")}` : "#000000"; @@ -48,7 +48,9 @@ function ColorPicker(props: ColorPickerProps) { {popoutProps => (