diff --git a/rooch-portal-v1/src/components/profile-info.tsx b/rooch-portal-v1/src/components/profile-info.tsx index 6e91956dbe..943b147282 100644 --- a/rooch-portal-v1/src/components/profile-info.tsx +++ b/rooch-portal-v1/src/components/profile-info.tsx @@ -26,7 +26,11 @@ export const ProfileInfo = () => { Rooch Network
-

{formatAddress(account?.getRoochAddress())}

+ {account ? ( +

{formatAddress(account?.getRoochAddress())}

+ ) : ( +

Connect to wallet

+ )}