Change active tab when navigated to another profile page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
@ -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}
|
||||
|
||||
Reference in New Issue
Block a user