From 64ed3d2f6847b5fc163b8df9943efc6ad632079b Mon Sep 17 00:00:00 2001 From: Ishpaul Singh Date: Thu, 28 Dec 2023 20:10:09 +0530 Subject: [PATCH] remove default argument for contentContainerStyle --- src/components/InvertedFlatList/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/InvertedFlatList/index.tsx b/src/components/InvertedFlatList/index.tsx index 922fa0a3d4e3..6871b010a385 100644 --- a/src/components/InvertedFlatList/index.tsx +++ b/src/components/InvertedFlatList/index.tsx @@ -5,7 +5,7 @@ import BaseInvertedFlatList from './BaseInvertedFlatList'; // This is adapted from https://codesandbox.io/s/react-native-dsyse // It's a HACK alert since FlatList has inverted scrolling on web -function InvertedFlatList({onScroll: onScrollProp = () => {}, contentContainerStyle = {}, ...props}: FlatListProps, ref: ForwardedRef) { +function InvertedFlatList({onScroll: onScrollProp = () => {}, contentContainerStyle, ...props}: FlatListProps, ref: ForwardedRef) { const lastScrollEvent = useRef(null); const scrollEndTimeout = useRef(null); const updateInProgress = useRef(false);