mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-28 11:53:24 +03:00
fix: init state
This commit is contained in:
parent
415ca606fd
commit
62aaf25f8a
@ -23,8 +23,7 @@ export const Editor = () => {
|
||||
|
||||
const text = new Text(store, 'Legend from here...');
|
||||
store.addBlock({ flavour: 'paragraph', text }, groupId);
|
||||
|
||||
// store.resetHistory();
|
||||
store.resetHistory();
|
||||
}, [setEditor]);
|
||||
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user