Skip to content

Commit

Permalink
Update UserProfile.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
mishramonalisha76 authored Nov 6, 2024
1 parent 16300f2 commit d5fd11c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { ProfileContainer } from '../reusables';
import { ThemeContext } from '../theme/ThemeProvider';
import { UpdateUserProfileModal } from './UpdateUserProfileModal';

import { GUEST_MODE_ACCOUNT, device } from '../../../config';
import { device } from '../../../config';
import VerticalEllipsisIcon from '../../../icons/VerticalEllipsis.svg';
import UserProfileIcon from '../../../icons/userCircleGear.svg';
import { MODAL_BACKGROUND_TYPE, MODAL_POSITION_TYPE } from '../../../types';
Expand Down Expand Up @@ -96,7 +96,7 @@ export const UserProfile: React.FC<UserProfileProps> = ({
member={{
web3Name: web3Name,
abbrRecipient: shortenText(pCAIP10ToWallet(user?.account || ''), 8, true) as string,
recipient: user?.account || GUEST_MODE_ACCOUNT,
recipient: user!.account,
icon: userProfile?.profile?.picture || null,
}}
copy={true}
Expand Down

0 comments on commit d5fd11c

Please sign in to comment.