Merge pull request #1951 from ecency/nt/tabs-reset

NT - Tabs Reset
This commit is contained in:
Feruz M 2021-05-22 22:02:45 +03:00 committed by GitHub
commit 996b8f2538
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -219,13 +219,13 @@ class ProfileView extends PureComponent {
return ( return (
<View style={styles.postTabBar}> <View style={styles.postTabBar}>
<TabbedPosts <TabbedPosts
key={username + JSON.stringify(filterOptions)}
filterOptions={filterOptions} filterOptions={filterOptions}
filterOptionsValue={tabs} filterOptionsValue={tabs}
selectedOptionIndex={0} selectedOptionIndex={0}
pageType={pageType} pageType={pageType}
getFor="blog" getFor="blog"
feedUsername={username} feedUsername={username}
key={username}
handleOnScroll={isSummaryOpen ? this._handleOnScroll : null} handleOnScroll={isSummaryOpen ? this._handleOnScroll : null}
forceLoadPost={forceLoadPost} forceLoadPost={forceLoadPost}
changeForceLoadPostState={changeForceLoadPostState} changeForceLoadPostState={changeForceLoadPostState}