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

Change active tab when navigated to another profile page

See merge request soapbox-pub/soapbox-fe!1767
emoji-improvements
marcin mikołajczak 2022-09-03 22:24:14 +00:00
commit 0af912ed6a
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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