mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-14 16:46:22 +08:00
refactor(component): editor component (#1834)
This commit is contained in:
@@ -40,13 +40,7 @@ const Editor: React.FC<{
|
||||
return <>loading...</>;
|
||||
}
|
||||
return (
|
||||
<BlockSuiteEditor
|
||||
blockSuiteWorkspace={blockSuiteWorkspace}
|
||||
page={page}
|
||||
mode="page"
|
||||
onInit={onInit}
|
||||
onLoad={onLoad}
|
||||
/>
|
||||
<BlockSuiteEditor page={page} mode="page" onInit={onInit} onLoad={onLoad} />
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user