fix: replace noop function (#2744)

(cherry picked from commit af6f431c15)
This commit is contained in:
Himself65
2023-06-09 16:00:44 +08:00
committed by Alex Yang
parent 8cd5f81076
commit a0ee00a4b2
12 changed files with 37 additions and 12 deletions
@@ -80,7 +80,7 @@ const BlockSuiteEditorImpl = (props: EditorProps): ReactElement => {
.forEach(dispose => dispose());
};
}
return () => {};
return;
}, [editor, editor.page, page, onLoad]);
const ref = useRef<HTMLDivElement>(null);