enabled tabs reset on tabs selection change

This commit is contained in:
Nouman Tahir 2021-05-22 23:53:40 +05:00
parent dd6f9504e3
commit a91c0a387b

View File

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