Skip to content

Commit

Permalink
[Issue-173] Update actions and UI (3)
Browse files Browse the repository at this point in the history
  • Loading branch information
saltict committed Nov 23, 2024
1 parent ef68fc6 commit 4e99ed4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const Component = ({ className, doLinkAccount, isLinked, isLoading }: Props): Re
/>
<div className={'__linked-account-text'}>
<span className={'__linked-account-gmail'}>{account?.email}</span>
<span className={'__linked-account-address'}>&nbsp;({mythicalWallet?.address && toShort(mythicalWallet?.address, 3, 3)})</span>
{mythicalWallet?.address && <span className={'__linked-account-address'}>&nbsp;({toShort(mythicalWallet.address, 3, 3)})</span>}
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions packages/extension-koni-ui/src/Popup/Home/MyProfile/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<BookaAccount | undefined>(apiSDK.account);
Expand Down Expand Up @@ -89,7 +89,7 @@ const Component = ({ className }: Props): React.ReactElement => {
/>
{isLinkedMyth
? (
<>
mythicalWallet?.address && <>
<WalletInfoArea className={'wallet-info-area'} />
<RewardHistoryArea className={'reward-history-area'} />
</>
Expand Down

0 comments on commit 4e99ed4

Please sign in to comment.