mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
refactor: delete page style (#4347)
Co-authored-by: Alex Yang <himself65@outlook.com>
This commit is contained in:
@@ -70,7 +70,7 @@ export function useIsTinyScreen({
|
||||
resizeObserver.observe(mainContainer);
|
||||
|
||||
return () => {
|
||||
resizeObserver.disconnect();
|
||||
resizeObserver.unobserve(mainContainer);
|
||||
};
|
||||
}, [
|
||||
centerDom,
|
||||
|
||||
Reference in New Issue
Block a user