mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-11 15:16:28 +08:00
@@ -23,7 +23,7 @@ export const Editor = () => {
|
||||
store.addBlock({ flavour: 'paragraph', text }, groupId);
|
||||
|
||||
// store._history.clear();
|
||||
}, []);
|
||||
}, [setEditor]);
|
||||
|
||||
return (
|
||||
<Suspense fallback={<div>Error!</div>}>
|
||||
|
||||
Reference in New Issue
Block a user