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}
|
enableFolding={true}
|
||||||
editorTheme={currentEditorTheme}
|
editorTheme={currentEditorTheme}
|
||||||
renderer={brew.renderer}
|
renderer={brew.renderer}
|
||||||
rerenderParent={rerenderParent}
|
|
||||||
style={{ height: `calc(100% - 25px)` }}
|
style={{ height: `calc(100% - 25px)` }}
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
@@ -407,7 +406,7 @@ const Editor = forwardRef(
|
|||||||
foldCode={foldCode}
|
foldCode={foldCode}
|
||||||
unfoldCode={unfoldCode}
|
unfoldCode={unfoldCode}
|
||||||
historySize={historySize()}
|
historySize={historySize()}
|
||||||
currentEditorTheme={editorTheme}
|
currentEditorTheme={currentEditorTheme}
|
||||||
updateEditorTheme={updateEditorTheme}
|
updateEditorTheme={updateEditorTheme}
|
||||||
themeBundle={themeBundle}
|
themeBundle={themeBundle}
|
||||||
cursorPos={codeEditor.current?.getCursorPosition() || {}}
|
cursorPos={codeEditor.current?.getCursorPosition() || {}}
|
||||||
|
|||||||
Reference in New Issue
Block a user