mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix(whiteboard): editor init size when creating new editor
This commit is contained in:
@@ -148,7 +148,7 @@ const EditorContainer = ({
|
||||
obv.observe(scrollContainerRef.current);
|
||||
return () => obv.disconnect();
|
||||
}
|
||||
});
|
||||
}, [setPageClientWidth]);
|
||||
|
||||
return (
|
||||
<StyledEditorContainer
|
||||
|
||||
Reference in New Issue
Block a user