diff --git a/src/SettingDrawer/ThemeColor.tsx b/src/SettingDrawer/ThemeColor.tsx index 3c11bdfd..b6048526 100644 --- a/src/SettingDrawer/ThemeColor.tsx +++ b/src/SettingDrawer/ThemeColor.tsx @@ -27,7 +27,6 @@ export interface ThemeColorProps { key: string; color: string; }[]; - title?: string; value: string; onChange: (color: string) => void; formatMessage: (data: { id: any; defaultMessage?: string }) => string; @@ -36,14 +35,13 @@ export interface ThemeColorProps { const ThemeColor: React.ForwardRefRenderFunction< HTMLDivElement, ThemeColorProps -> = ({ colors, title, value, onChange, formatMessage }, ref) => { +> = ({ colors, value, onChange, formatMessage }, ref) => { const colorList = colors || []; if (colorList.length < 1) { return null; } return (