Удалено логгирование в useElementSize

This commit is contained in:
goodmice 2022-12-23 10:45:08 +05:00
parent de58c81e87
commit d0c2774774
No known key found for this signature in database
GPG Key ID: 63EA771203189CF1

View File

@ -8,7 +8,6 @@ export const useElementSize = <T extends Element>(): [MutableRefObject<T | null>
if (entries.length <= 0) return if (entries.length <= 0) return
const rect = entries[0].contentRect const rect = entries[0].contentRect
setRect(rect) setRect(rect)
console.log(rect)
}), []) }), [])
useEffect(() => { useEffect(() => {