From 1727dc4e1b54905bfafe5d15bcb2d4238ec06261 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Thu, 19 Sep 2024 01:06:48 +0200 Subject: [PATCH] pl-fe: remove commented out code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- packages/pl-fe/src/components/scrollable-list.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/pl-fe/src/components/scrollable-list.tsx b/packages/pl-fe/src/components/scrollable-list.tsx index 7970c91c57..b1c4f9e253 100644 --- a/packages/pl-fe/src/components/scrollable-list.tsx +++ b/packages/pl-fe/src/components/scrollable-list.tsx @@ -93,12 +93,10 @@ const ScrollableList = React.forwardRef, IScrollableList>( const virtualizer = useWindowScroll ? useWindowVirtualizer({ count: data.length + (hasMore ? 1 : 0), overscan: 3, - // scrollMargin: parentRef.current?.offsetTop ?? 0, estimateSize: () => estimatedSize, }) : useVirtualizer({ count: data.length + (hasMore ? 1 : 0), overscan: 3, - // scrollMargin: parentRef.current?.offsetTop ?? 0, estimateSize: () => estimatedSize, getScrollElement: () => parentRef.current, });