mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-24 05:48:59 +08:00
chore: adjust file
This commit is contained in:
@@ -15,7 +15,10 @@ export const Editor = () => {
|
||||
initDefaultContent(editor);
|
||||
}
|
||||
}, [editor]);
|
||||
return <div id="editor" ref={editorContainer}></div>;
|
||||
|
||||
return (
|
||||
<div id="editor" style={{ height: '100%' }} ref={editorContainer}></div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Editor;
|
||||
|
||||
Reference in New Issue
Block a user