mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
fix: add prefer-dom-node-append rule (#5108)
This commit is contained in:
@@ -40,7 +40,7 @@ const Outline = () => {
|
||||
ref={useCallback((container: HTMLDivElement | null) => {
|
||||
if (container) {
|
||||
assertExists(tocPanelRef.current);
|
||||
container.appendChild(tocPanelRef.current);
|
||||
container.append(tocPanelRef.current);
|
||||
}
|
||||
}, [])}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user