perf: less churn

This commit is contained in:
cha0s 2024-07-30 22:58:24 -05:00
parent a1a6b98639
commit 01d63e5ee0

View File

@ -25,7 +25,7 @@ export default function Dom({children}) {
return () => {
window.removeEventListener('resize', onResize);
}
});
}, []);
return (
<div className={styles.dom} ref={ref}>
{scale > 0 && (