mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 09:33:49 +01:00
fix react error
This commit is contained in:
parent
9493768c0b
commit
f5b23262f6
@ -41,13 +41,13 @@ export function OptionsModal(props: IProps): React.ReactElement {
|
|||||||
<Modal open={props.open} onClose={props.onClose}>
|
<Modal open={props.open} onClose={props.onClose}>
|
||||||
<Box display="flex" flexDirection="row" alignItems="center">
|
<Box display="flex" flexDirection="row" alignItems="center">
|
||||||
<Typography>Theme: </Typography>
|
<Typography>Theme: </Typography>
|
||||||
<Select onChange={(event) => setTheme(event.target.value)} defaultValue={props.options.theme}>
|
<Select onChange={(event) => setTheme(event.target.value)} value={theme}>
|
||||||
<MenuItem value="vs-dark">dark</MenuItem>
|
<MenuItem value="vs-dark">dark</MenuItem>
|
||||||
<MenuItem value="light">light</MenuItem>
|
<MenuItem value="light">light</MenuItem>
|
||||||
<MenuItem value="monokai">monokai</MenuItem>
|
<MenuItem value="monokai">monokai</MenuItem>
|
||||||
<MenuItem value="solarish-dark">solarish-dark</MenuItem>
|
<MenuItem value="solarized-dark">solarized-dark</MenuItem>
|
||||||
<MenuItem value="solarish-light">solarish-light</MenuItem>
|
<MenuItem value="solarized-light">solarized-light</MenuItem>
|
||||||
</Select>
|
</Select>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
<Box display="flex" flexDirection="row" alignItems="center">
|
<Box display="flex" flexDirection="row" alignItems="center">
|
||||||
|
Loading…
Reference in New Issue
Block a user