mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-26 03:00:56 +02:00
EDITOR: useVimEditor uses Material UI (#1332)
This commit is contained in:
@@ -373,7 +373,7 @@ function Root(props: IProps): React.ReactElement {
|
||||
}
|
||||
}
|
||||
|
||||
const { VimStatus } = useVimEditor({
|
||||
const { statusBarRef } = useVimEditor({
|
||||
editor: editorRef.current,
|
||||
vim: options.vim,
|
||||
onSave: save,
|
||||
@@ -411,7 +411,7 @@ function Root(props: IProps): React.ReactElement {
|
||||
<div style={{ flex: "0 0 5px" }} />
|
||||
<Editor onMount={onMount} onChange={updateCode} onUnmount={onUnmountEditor} />
|
||||
|
||||
{VimStatus}
|
||||
{statusBarRef.current}
|
||||
|
||||
<Toolbar onSave={save} editor={editorRef.current} />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user