diff --git a/napcat.webui/index.html b/napcat.webui/index.html index 995dfcb2..12511914 100644 --- a/napcat.webui/index.html +++ b/napcat.webui/index.html @@ -13,6 +13,7 @@ content="viewport-fit=cover, width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" /> +
diff --git a/napcat.webui/src/components/ColorPicker.tsx b/napcat.webui/src/components/ColorPicker.tsx index 856ecc11..eb9f423a 100644 --- a/napcat.webui/src/components/ColorPicker.tsx +++ b/napcat.webui/src/components/ColorPicker.tsx @@ -6,32 +6,28 @@ import { ColorResult, SketchPicker } from 'react-color' interface ColorPickerProps { color: string - onChange: (color: string) => void + onChange: (color: ColorResult) => void } const ColorPicker: React.FC