diff options
author | Ansh Nanda <anshnanda10@gmail.com> | 2023-05-16 23:45:14 -0700 |
---|---|---|
committer | Ansh Nanda <anshnanda10@gmail.com> | 2023-05-16 23:45:14 -0700 |
commit | 90adc194154ad25c3f2f5e3434c847b1a767efe3 (patch) | |
tree | f0c28d35ef45391afe01af64399e85db4033d6ce /src/view/com/posts | |
parent | 1378ab46e9c927ee3a110ffac7a98e220df8ea5d (diff) | |
download | voidsky-90adc194154ad25c3f2f5e3434c847b1a767efe3.tar.zst |
fix re-rendering issue
Diffstat (limited to 'src/view/com/posts')
-rw-r--r-- | src/view/com/posts/Feed.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/view/com/posts/Feed.tsx b/src/view/com/posts/Feed.tsx index 443cf70bd..5b0110df8 100644 --- a/src/view/com/posts/Feed.tsx +++ b/src/view/com/posts/Feed.tsx @@ -35,6 +35,7 @@ export const Feed = observer(function Feed({ testID, headerOffset = 0, ListHeaderComponent, + extraData, }: { feed: PostsFeedModel style?: StyleProp<ViewStyle> @@ -46,6 +47,7 @@ export const Feed = observer(function Feed({ testID?: string headerOffset?: number ListHeaderComponent?: () => JSX.Element + extraData?: any }) { const pal = usePalette('default') const {track} = useAnalytics() @@ -182,6 +184,7 @@ export const Feed = observer(function Feed({ onEndReachedThreshold={0.6} removeClippedSubviews={true} contentOffset={{x: 0, y: headerOffset * -1}} + extraData={extraData} // @ts-ignore our .web version only -prf desktopFixedHeight /> |