bridge_ui: added symbol to Ethereum quick migrate
Change-Id: Ida896ed16984feaa7d1e7bf102cb1502757969a2
This commit is contained in:
parent
42acf3f098
commit
5b8bbd4269
|
@ -108,6 +108,8 @@ function EvmMigrationLineItem({
|
|||
const [migrationIsProcessing, setMigrationIsProcessing] = useState(false);
|
||||
const [transaction, setTransaction] = useState("");
|
||||
const [error, setError] = useState("");
|
||||
const fromSymbol = poolInfo?.data?.fromSymbol;
|
||||
const toSymbol = poolInfo?.data?.toSymbol;
|
||||
|
||||
const sufficientPoolBalance =
|
||||
poolInfo.data &&
|
||||
|
@ -188,7 +190,11 @@ function EvmMigrationLineItem({
|
|||
<Typography className={classes.balance}>
|
||||
{poolInfo.data.fromWalletBalance}
|
||||
</Typography>
|
||||
<SmartAddress chainId={chainId} address={poolInfo.data.fromAddress} />
|
||||
<SmartAddress
|
||||
chainId={chainId}
|
||||
address={poolInfo.data.fromAddress}
|
||||
symbol={fromSymbol || undefined}
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<Typography variant="body2" color="textSecondary">
|
||||
|
@ -203,7 +209,11 @@ function EvmMigrationLineItem({
|
|||
<Typography className={classes.balance}>
|
||||
{poolInfo.data.fromWalletBalance}
|
||||
</Typography>
|
||||
<SmartAddress chainId={chainId} address={poolInfo.data.toAddress} />
|
||||
<SmartAddress
|
||||
chainId={chainId}
|
||||
address={poolInfo.data.toAddress}
|
||||
symbol={toSymbol || undefined}
|
||||
/>
|
||||
</div>
|
||||
<div className={classes.convertButton}>
|
||||
<ButtonWithLoader
|
||||
|
|
Loading…
Reference in New Issue