Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
Fix issue with using accountUser handle (#1924)
Browse files Browse the repository at this point in the history
  • Loading branch information
sliptype committed Sep 14, 2022
1 parent 5a496fa commit 370088e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/mobile/src/screens/profile-screen/ProfileScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ export const ProfileScreen = () => {
'handle',
'does_current_user_follow'
])
const handle = params.handle ?? profile?.handle
const handle =
params.handle && params.handle !== 'accountUser'
? params.handle
: profile?.handle
const accountId = useSelector(getUserId)
const dispatch = useDispatch()
const status = useSelector(getProfileStatus)
Expand Down

0 comments on commit 370088e

Please sign in to comment.