perf: less churn
This commit is contained in:
parent
a1a6b98639
commit
01d63e5ee0
|
@ -25,7 +25,7 @@ export default function Dom({children}) {
|
|||
return () => {
|
||||
window.removeEventListener('resize', onResize);
|
||||
}
|
||||
});
|
||||
}, []);
|
||||
return (
|
||||
<div className={styles.dom} ref={ref}>
|
||||
{scale > 0 && (
|
||||
|
|
Loading…
Reference in New Issue
Block a user