fix: init state
This commit is contained in:
1 parent
415ca606fd
commit
62aaf25f8a
1 file changed
+1
-2
@@ -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 (
|
||||
|
||||
Reference in new issue
Block a user