mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-09-20 14:32:57 +00:00
remove rerenderparent hook
This commit is contained in:
@@ -354,7 +354,6 @@ const Editor = forwardRef(
|
||||
enableFolding={true}
|
||||
editorTheme={currentEditorTheme}
|
||||
renderer={brew.renderer}
|
||||
rerenderParent={rerenderParent}
|
||||
style={{ height: `calc(100% - 25px)` }}
|
||||
/>
|
||||
</>
|
||||
@@ -407,7 +406,7 @@ const Editor = forwardRef(
|
||||
foldCode={foldCode}
|
||||
unfoldCode={unfoldCode}
|
||||
historySize={historySize()}
|
||||
currentEditorTheme={editorTheme}
|
||||
currentEditorTheme={currentEditorTheme}
|
||||
updateEditorTheme={updateEditorTheme}
|
||||
themeBundle={themeBundle}
|
||||
cursorPos={codeEditor.current?.getCursorPosition() || {}}
|
||||
|
||||
Reference in New Issue
Block a user