diff --git a/src/components/editor.tsx b/src/components/editor.tsx index d6cf8b504e..d2462ea28d 100644 --- a/src/components/editor.tsx +++ b/src/components/editor.tsx @@ -23,7 +23,7 @@ export const Editor = () => { store.addBlock({ flavour: 'paragraph', text }, groupId); // store._history.clear(); - }, []); + }, [setEditor]); return ( Error!}>