Merge branch 'master' of github.com:toeverything/AFFINE-pathfinder into feat/layout

This commit is contained in:
QiShaoXuan
2022-10-24 14:16:56 +08:00
3 changed files with 19 additions and 20 deletions

View File

@@ -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 (