Fix anonymous tuples

This commit is contained in:
Willian Mitsuda 2021-09-25 19:37:14 -03:00
parent 22b9c5b687
commit 9236bfcb2f
1 changed files with 8 additions and 1 deletions

View File

@ -62,7 +62,14 @@ const DecodedParamRow: React.FC<DecodedParamRowProps> = ({
r.map((e: any, idx: number) => (
<DecodedParamRow
key={idx}
prefix={paramType.name + "."}
prefix={
paramType.name ? (
paramType.name + "."
) : (
<span className="italic">param_{i}.</span>
)
}
i={idx}
r={e}
paramType={paramType.components[idx]}
txData={txData}