Fix anonymous tuples
This commit is contained in:
parent
22b9c5b687
commit
9236bfcb2f
|
@ -62,7 +62,14 @@ const DecodedParamRow: React.FC<DecodedParamRowProps> = ({
|
||||||
r.map((e: any, idx: number) => (
|
r.map((e: any, idx: number) => (
|
||||||
<DecodedParamRow
|
<DecodedParamRow
|
||||||
key={idx}
|
key={idx}
|
||||||
prefix={paramType.name + "."}
|
prefix={
|
||||||
|
paramType.name ? (
|
||||||
|
paramType.name + "."
|
||||||
|
) : (
|
||||||
|
<span className="italic">param_{i}.</span>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
i={idx}
|
||||||
r={e}
|
r={e}
|
||||||
paramType={paramType.components[idx]}
|
paramType={paramType.components[idx]}
|
||||||
txData={txData}
|
txData={txData}
|
||||||
|
|
Loading…
Reference in New Issue