mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 09:33:49 +01:00
Remove unnecessary editor code
This commit is contained in:
parent
99ef71de4a
commit
a5ad97f47d
@ -715,8 +715,6 @@ export function Root(props: IProps): React.ReactElement {
|
||||
}
|
||||
editorRef.current.setModel(openScript.model);
|
||||
|
||||
editorRef.current.setPosition(openScript.lastPosition);
|
||||
editorRef.current.revealLineInCenter(openScript.lastPosition.lineNumber);
|
||||
editorRef.current.setValue(openScript.code);
|
||||
updateRAM(openScript.code);
|
||||
editorRef.current.focus();
|
||||
|
Loading…
Reference in New Issue
Block a user