Skip to content
This repository was archived by the owner on Apr 19, 2024. It is now read-only.

Commit 4fe442b

Browse files
committed
Removed resizing loop.
1 parent 0704341 commit 4fe442b

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/domains/dashboard/components/virtualized/cellMeasurerWrapper.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ const Wrapper = ({ children, style, id }) => {
2424
const height = ref.current?.firstChild?.clientHeight
2525

2626
useEffect(() => {
27-
let timeoutId
2827
let cancelDeffered
2928

3029
const resize = () => {
@@ -36,7 +35,6 @@ const Wrapper = ({ children, style, id }) => {
3635
list.resize(id)
3736
}
3837
prevHeightRef.current = height
39-
resize()
4038
})
4139
}
4240

0 commit comments

Comments
 (0)