From 65f7b402097916c3828293c09dda78a98047f454 Mon Sep 17 00:00:00 2001 From: Srikanth Reddy Date: Fri, 8 Oct 2021 14:10:00 +0530 Subject: [PATCH] commission rate fractional digits set to 2. --- src/containers/Stake/Table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/containers/Stake/Table.js b/src/containers/Stake/Table.js index d6fb73c..5f06169 100644 --- a/src/containers/Stake/Table.js +++ b/src/containers/Stake/Table.js @@ -142,7 +142,7 @@ class Table extends Component { parseFloat((Number(item.tokens) / 1000000).toFixed(1)), item.commission && item.commission.commission_rates && item.commission.commission_rates.rate - ? parseFloat((Number(item.commission.commission_rates.rate) * 100).toFixed(1)) : null, + ? parseFloat((Number(item.commission.commission_rates.rate) * 100).toFixed(2)) : null, item, item.operator_address, ])