From 698e2a365c6f2e3fddb9f493e9bd48dc45235d72 Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Sat, 18 Sep 2021 17:43:47 -0300 Subject: [PATCH] Custom colors for bool params --- src/transaction/DecodedParamsTable.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/transaction/DecodedParamsTable.tsx b/src/transaction/DecodedParamsTable.tsx index cbed748..1d79347 100644 --- a/src/transaction/DecodedParamsTable.tsx +++ b/src/transaction/DecodedParamsTable.tsx @@ -47,6 +47,10 @@ const DecodedParamsTable: React.FC = ({ + ) : paramTypes[i].type === "bool" ? ( + + {r.toString()} + ) : ( r.toString() )}