mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-13 16:16:46 +08:00
fix: lint error
This commit is contained in:
@@ -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