From b770de3117d4c2a19a76cd0c62d30ccab1876fd7 Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Wed, 29 Sep 2021 16:27:36 -0300 Subject: [PATCH] Tune spacing --- src/transaction/decoder/DecodedParamRow.tsx | 55 ++++++++++----------- 1 file changed, 27 insertions(+), 28 deletions(-) diff --git a/src/transaction/decoder/DecodedParamRow.tsx b/src/transaction/decoder/DecodedParamRow.tsx index bd94dc4..fed9ecb 100644 --- a/src/transaction/decoder/DecodedParamRow.tsx +++ b/src/transaction/decoder/DecodedParamRow.tsx @@ -35,35 +35,34 @@ const DecodedParamRow: React.FC = ({ <> -
- {prefix && {prefix}} - {arrayElem !== undefined ? ( - - {" "} - [{arrayElem}] - - ) : ( - <> - {paramType.name ?? param_{i}}{" "} - {i !== undefined && ( - ({i}) - )} - - )} +
+ + {prefix && {prefix}} + {arrayElem !== undefined ? ( + + {" "} + [{arrayElem}] + + ) : ( + <> + {paramType.name ?? param_{i}}{" "} + {i !== undefined && ( + ({i}) + )} + + )} + {help && ( - <> - {" "} - - - - + + + )}
{help && showHelp &&
{help}
}