Skip to content

Commit 55cde2e

Browse files
Update packages/viola/src/routes/debug/ast-viewer/-components/ast-viewer.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent de41dfe commit 55cde2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/viola/src/routes/debug/ast-viewer/-components/ast-viewer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export function RichEditorPane() {
7272
},
7373
onUpdate: useCallback(() => {
7474
setContentInEditor(editor.getMarkdown());
75-
}, []),
75+
}, [editor]),
7676
});
7777

7878
const [, cancel] = useDebounce(

0 commit comments

Comments
 (0)