diff --git a/src/hooks/useVirtualScroll.ts b/src/hooks/useVirtualScroll.ts index a8b41597a2..b219ea58a3 100644 --- a/src/hooks/useVirtualScroll.ts +++ b/src/hooks/useVirtualScroll.ts @@ -179,7 +179,7 @@ const useVirtualScroll = (container: MutableRefObject, params: UseV }, 1); }, // eslint-disable-next-line - [container.current, data, tScroll, isVirtualScroll, startAndEndIndex, trHeightList, tripleBufferSize], + [container, data, tScroll, isVirtualScroll, startAndEndIndex, trHeightList, tripleBufferSize], ); return {