Change active tab when navigated to another profile page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
df748d754a
commit
005f317a93
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