diff options
Diffstat (limited to 'src/view/com/posts/Feed.tsx')
-rw-r--r-- | src/view/com/posts/Feed.tsx | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/view/com/posts/Feed.tsx b/src/view/com/posts/Feed.tsx index 921f23190..5035d345d 100644 --- a/src/view/com/posts/Feed.tsx +++ b/src/view/com/posts/Feed.tsx @@ -28,7 +28,6 @@ const LOAD_MORE_ERROR_ITEM = {_reactKey: '__load_more_error__'} export const Feed = observer(function Feed({ feed, style, - showPostFollowBtn, scrollElRef, onPressTryAgain, onScroll, @@ -41,7 +40,6 @@ export const Feed = observer(function Feed({ }: { feed: PostsFeedModel style?: StyleProp<ViewStyle> - showPostFollowBtn?: boolean scrollElRef?: MutableRefObject<FlatList<any> | null> onPressTryAgain?: () => void onScroll?: OnScrollCb @@ -138,15 +136,9 @@ export const Feed = observer(function Feed({ } else if (item === LOADING_ITEM) { return <PostFeedLoadingPlaceholder /> } - return <FeedSlice slice={item} showFollowBtn={showPostFollowBtn} /> + return <FeedSlice slice={item} /> }, - [ - feed, - onPressTryAgain, - onPressRetryLoadMore, - showPostFollowBtn, - renderEmptyState, - ], + [feed, onPressTryAgain, onPressRetryLoadMore, renderEmptyState], ) const FeedFooter = React.useCallback( |