forked from ddrilling/asb_cloud_front
Удалено логгирование в useElementSize
This commit is contained in:
parent
de58c81e87
commit
d0c2774774
@ -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(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user