mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
rule out empty string for symbol (#10712)
This commit is contained in:
parent
1cfa58287c
commit
a16841f6bb
@ -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