Skip to content

Commit

Permalink
fix: repaired settings demo appearance section
Browse files Browse the repository at this point in the history
  • Loading branch information
sunduckcow committed Sep 27, 2023
1 parent b425a69 commit 16e8fe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Settings/__stories__/SettingsDemo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export const SettingsComponent = React.memo(
</Settings.Item>
<Settings.Item title="Code theme">
<Select
value={settings.codeTheme ?? 'default'}
value={settings.codeTheme ?? ['default']}
options={[{value: 'default', content: 'Default'}]}
onUpdate={(val) => {
handleChange(
Expand Down

0 comments on commit 16e8fe3

Please sign in to comment.