mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
rule out empty string for symbol (#10712)
This commit is contained in:
parent
c865804a26
commit
6563339cbc
@ -88,7 +88,9 @@ export default function ConfirmApprove() {
|
||||
? getCustomTxParamsData(data, { customPermissionAmount, decimals })
|
||||
: null;
|
||||
|
||||
return tokenSymbol ? (
|
||||
return tokenSymbol === undefined ? (
|
||||
<Loading />
|
||||
) : (
|
||||
<ConfirmTransactionBase
|
||||
toAddress={toAddress}
|
||||
identiconAddress={tokenAddress}
|
||||
@ -142,7 +144,5 @@ export default function ConfirmApprove() {
|
||||
hideSenderToRecipient
|
||||
customTxParamsData={customData}
|
||||
/>
|
||||
) : (
|
||||
<Loading />
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user