remove rerenderparent hook

This commit is contained in:
Víctor Losada Hernández
2026-08-23 20:14:12 +02:00
parent f53ed8c8e7
commit b655454348
+1 -2
View File
@@ -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() || {}}