better working yes
All checks were successful
Deploy to Cloudflare Pages / deploy (push) Successful in 29s
All checks were successful
Deploy to Cloudflare Pages / deploy (push) Successful in 29s
This commit is contained in:
parent
ff646a0cff
commit
7a989ce3e1
@ -26,9 +26,10 @@ export default function CropSelector() {
|
||||
setContainerHeight(containerRef.current.offsetHeight);
|
||||
}
|
||||
}
|
||||
updateContainerSize();
|
||||
window.addEventListener('resize', updateContainerSize);
|
||||
return () => window.removeEventListener('resize', updateContainerSize);
|
||||
}, [containerRef])
|
||||
}, [])
|
||||
|
||||
|
||||
useEffect(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user