mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-02-17 02:22:23 +01:00
Remove unnecessary editor code
This commit is contained in:
@ -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();
|
||||||
|
Reference in New Issue
Block a user