Remove unnecessary editor code

This commit is contained in:
nickofolas 2022-01-20 17:28:19 -06:00
parent 99ef71de4a
commit a5ad97f47d

@ -715,8 +715,6 @@ export function Root(props: IProps): React.ReactElement {
} }
editorRef.current.setModel(openScript.model); editorRef.current.setModel(openScript.model);
editorRef.current.setPosition(openScript.lastPosition);
editorRef.current.revealLineInCenter(openScript.lastPosition.lineNumber);
editorRef.current.setValue(openScript.code); editorRef.current.setValue(openScript.code);
updateRAM(openScript.code); updateRAM(openScript.code);
editorRef.current.focus(); editorRef.current.focus();