Skip to content

Commit 382acb2

Browse files
committed
Profile tabs (posts & verifications) breaking
Changelog: fix
1 parent e0526a2 commit 382acb2

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

apps/polycentric/src/features/profile/ProfileContext.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,13 @@ export function ProfileProvider({
5050
if (tab === activeFeed) return;
5151
navigation.dispatch({
5252
type: 'JUMP_TO',
53-
payload: { name: tab === 'verifications' ? 'verifications' : 'index' },
53+
payload: {
54+
name: tab === 'verifications' ? 'verifications' : 'index',
55+
params: { identityId: alias ?? identityKey },
56+
},
5457
});
5558
},
56-
[activeFeed, navigation],
59+
[activeFeed, alias, identityKey, navigation],
5760
);
5861

5962
const value = useMemo<ProfileContextValue>(

0 commit comments

Comments
 (0)