Show Multisend information even when there is no details (#1904)
This commit is contained in:
parent
d115e4f532
commit
37f3b30112
|
@ -60,13 +60,14 @@ export const MultiSendDetails = ({ txData }: { txData: TransactionData }): React
|
|||
const title = `Send ${amount} ${nativeCoin.name} to:`
|
||||
|
||||
if (dataDecoded) {
|
||||
// Backend decoded data
|
||||
details = <MethodDetails data={dataDecoded} />
|
||||
} else {
|
||||
// We couldn't decode it but we have data
|
||||
details = data && <HexEncodedData hexData={data} />
|
||||
}
|
||||
|
||||
return (
|
||||
details && (
|
||||
<MultiSendTxGroup
|
||||
key={`${data ?? to}-${index}`}
|
||||
actionTitle={actionTitle}
|
||||
|
@ -75,7 +76,6 @@ export const MultiSendDetails = ({ txData }: { txData: TransactionData }): React
|
|||
{details}
|
||||
</MultiSendTxGroup>
|
||||
)
|
||||
)
|
||||
})}
|
||||
</>
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue