Fix: App Crash on decoded data opening when tx-builder send ETH to multiple EOA (#2208)
* Fix: bytes value for decodedData
This commit is contained in:
parent
42291e1208
commit
6dd3a781a6
|
@ -81,7 +81,7 @@ export const BasicTxInfo = ({
|
|||
Data (hex encoded):
|
||||
</Text>
|
||||
<FlexWrapper margin={5}>
|
||||
<Text size="lg">{web3.utils.hexToBytes(txData).length} bytes</Text>
|
||||
<Text size="lg">{txData ? web3.utils.hexToBytes(txData).length : 0} bytes</Text>
|
||||
<CopyToClipboardBtn textToCopy={txData} />
|
||||
</FlexWrapper>
|
||||
</>
|
||||
|
|
Loading…
Reference in New Issue