From 545caca025e678e52cdc482fdb20502398fa9874 Mon Sep 17 00:00:00 2001 From: Andrea Franz Date: Tue, 10 Mar 2020 17:28:52 +0100 Subject: [PATCH] show token symbol --- apps/simple-wallet/client/src/components/ReceiveDialog.tsx | 2 +- apps/simple-wallet/client/src/components/TopPanel.tsx | 6 +----- apps/simple-wallet/client/src/containers/TopPanel.ts | 2 ++ 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/apps/simple-wallet/client/src/components/ReceiveDialog.tsx b/apps/simple-wallet/client/src/components/ReceiveDialog.tsx index a4d7615..f7d5b39 100644 --- a/apps/simple-wallet/client/src/components/ReceiveDialog.tsx +++ b/apps/simple-wallet/client/src/components/ReceiveDialog.tsx @@ -54,7 +54,7 @@ const ReceiveDialog = (props: Props) => { onClose={props.handleClose} aria-labelledby="alert-dialog-slide-title" aria-describedby="alert-dialog-slide-description"> - Top up your wallet + Send only {props.tokenSymbol} tokens
{props.address} diff --git a/apps/simple-wallet/client/src/components/TopPanel.tsx b/apps/simple-wallet/client/src/components/TopPanel.tsx index a11845c..2765a4d 100644 --- a/apps/simple-wallet/client/src/components/TopPanel.tsx +++ b/apps/simple-wallet/client/src/components/TopPanel.tsx @@ -48,15 +48,11 @@ const TopPanel = (props: Props) => { const classes = useStyles(); const [balance, roundedBalance] = roundEther(props.balance); - const [availableBalance, roundedAvailableBalance] = roundEther(props.availableBalance); return
- {roundedAvailableBalance} Ξ - - - {availableBalance} + {roundedBalance} {props.tokenSymbol}