mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-27 03:14:56 +03:00
removed unused getFor prop
This commit is contained in:
parent
411e0259a6
commit
f30bb4069d
@ -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}
|
||||
|
@ -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;
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user