Skip to content

Commit

Permalink
website: fix type error. #651
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Apr 29, 2024
1 parent 7ff599a commit ddfb3d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/src/pages/theme/editor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export function ThemeEditor() {
return (
<ColorMenu
key={idx}
color={settings[keyName]}
color={settings[keyName] as keyof typeof settings}
onChange={(evn) => setSettings({ ...settings, [keyName]: evn.target.value })}
>
{keyName}
Expand Down

0 comments on commit ddfb3d2

Please sign in to comment.