Fix monaco jumping to end of file.

This commit is contained in:
Olivier Gagnon 2021-08-22 23:57:00 -04:00
parent e0d631f8b3
commit 0b3c114cd0
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

@ -287,7 +287,7 @@ export function Root(props: IProps): React.ReactElement {
loading={<p>Loading script editor!</p>}
height="80%"
defaultLanguage="javascript"
value={code}
defaultValue={code}
onChange={updateCode}
theme={options.theme}
options={options}