Merge branch 'profile-page-tabs' into 'develop'
Change active tab when navigated to another profile page See merge request soapbox-pub/soapbox-fe!1767
This commit is contained in:
commit
0af912ed6a
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ const ProfilePage: React.FC<IProfilePage> = ({ params, children }) => {
|
|||
</BundleContainer>
|
||||
|
||||
{account && showTabs && (
|
||||
<Tabs items={tabItems} activeItem={activeItem} />
|
||||
<Tabs key={`profile-tabs-${account.id}`} items={tabItems} activeItem={activeItem} />
|
||||
)}
|
||||
|
||||
{children}
|
||||
|
|
Loading…
Reference in a new issue