removed unused getFor prop

This commit is contained in:
noumantahir 2024-09-22 12:28:35 +05:00
parent 411e0259a6
commit f30bb4069d
3 changed files with 0 additions and 4 deletions

View File

@ -243,7 +243,6 @@ class ProfileView extends PureComponent {
filterOptionsValue={tabs}
selectedOptionIndex={selectedIndex}
pageType={pageType}
getFor="blog"
feedUsername={username}
handleOnScrollBeginDrag={isSummaryOpen ? this._handleOnScroll : null}
forceLoadPost={forceLoadPost}

View File

@ -6,7 +6,6 @@ export interface TabbedPostsProps {
selectedOptionIndex: number;
feedSubfilterOptions: string[];
feedSubfilterOptionsValue: string[];
getFor: string;
pageType: 'main' | 'community' | 'profile' | 'ownProfile';
tag: string;
forceLoadPosts: boolean;
@ -20,7 +19,6 @@ export interface PostsTabContentProps {
filterKey: string;
isFeedScreen: boolean;
isInitialTab: boolean;
getFor: string;
pageType: 'main' | 'profile' | 'ownProfile' | 'community';
feedUsername: string;
tag: string;

View File

@ -67,7 +67,6 @@ const FeedScreen = () => {
key={JSON.stringify(filterOptions)} // this hack of key change resets tabbedposts whenever filters chanage, effective to remove filter change android bug
filterOptions={filterOptions}
filterOptionsValue={mainTabs}
getFor={get(currentAccount, 'name', null) ? 'feed' : 'hot'}
selectedOptionIndex={get(currentAccount, 'name', null) ? 0 : 2}
feedUsername={get(currentAccount, 'name', null)}
tabContentOverrides={tabContentOverrides}