Skip to content

Commit 651e60a

Browse files
committed
website: Fix type error.
allow custom themes #232
1 parent c4e1cb4 commit 651e60a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ export default function App() {
210210
<Select
211211
label="Theme"
212212
options={themeOptions}
213-
value={theme}
213+
value={theme as string}
214214
onChange={(evn) => setTheme(evn.target.value as ReactCodeMirrorProps['theme'])}
215215
/>
216216
<Select label="Height" options={heightOptions} value={height} onChange={(evn) => setHeight(evn.target.value)} />

0 commit comments

Comments
 (0)