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:
marcin mikołajczak 2022-09-03 22:24:14 +00:00
commit 0af912ed6a

View file

@ -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}