mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-15 00:56:26 +08:00
refactor: remove unused code (#2484)
This commit is contained in:
@@ -36,6 +36,7 @@ const Editor: React.FC<{
|
||||
globalThis.page = page;
|
||||
// @ts-ignore
|
||||
globalThis.editor = editor;
|
||||
return () => void 0;
|
||||
}, []);
|
||||
|
||||
if (!page) {
|
||||
|
||||
Reference in New Issue
Block a user