Merge branch 'profile-page-tabs' into 'develop'

Change active tab when navigated to another profile page

See merge request soapbox-pub/soapbox-fe!1767
environments/review-develop-3zknud/deployments/896
marcin mikołajczak 2 years ago
commit 0af912ed6a

@ -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…
Cancel
Save