diff --git a/packages/extension-koni-ui/src/Popup/Home/MyProfile/LinkAccountArea.tsx b/packages/extension-koni-ui/src/Popup/Home/MyProfile/LinkAccountArea.tsx index dbf5c4d05f..efe752717b 100644 --- a/packages/extension-koni-ui/src/Popup/Home/MyProfile/LinkAccountArea.tsx +++ b/packages/extension-koni-ui/src/Popup/Home/MyProfile/LinkAccountArea.tsx @@ -39,7 +39,7 @@ const Component = ({ className, doLinkAccount, isLinked, isLoading }: Props): Re />
{account?.email} -  ({mythicalWallet?.address && toShort(mythicalWallet?.address, 3, 3)}) + {mythicalWallet?.address &&  ({toShort(mythicalWallet.address, 3, 3)})}
diff --git a/packages/extension-koni-ui/src/Popup/Home/MyProfile/index.tsx b/packages/extension-koni-ui/src/Popup/Home/MyProfile/index.tsx index 01acc32d17..2de297dcd7 100644 --- a/packages/extension-koni-ui/src/Popup/Home/MyProfile/index.tsx +++ b/packages/extension-koni-ui/src/Popup/Home/MyProfile/index.tsx @@ -25,7 +25,7 @@ const apiSDK = BookaSdk.instance; const Component = ({ className }: Props): React.ReactElement => { useSetCurrentPage('/home/my-profile'); const { t } = useTranslation(); - const { isLinkedMyth, linkMythAccount, onLogin, onLogout } = useContext(AuthenticationMythContext); + const { isLinkedMyth, linkMythAccount, mythicalWallet, onLogin, onLogout } = useContext(AuthenticationMythContext); const { currentAccount } = useSelector((state: RootState) => state.accountState); const [loading, setLoading] = useState(false); const [mineAccount, setMineAccount] = useState(apiSDK.account); @@ -89,7 +89,7 @@ const Component = ({ className }: Props): React.ReactElement => { /> {isLinkedMyth ? ( - <> + mythicalWallet?.address && <>