From 8e2b193436c12e232cc6b5095ac8522f52eebf31 Mon Sep 17 00:00:00 2001 From: J M Rossy Date: Fri, 26 Apr 2024 20:36:36 -0400 Subject: [PATCH] Hide stake dust --- src/features/staking/ActiveStakesTable.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/features/staking/ActiveStakesTable.tsx b/src/features/staking/ActiveStakesTable.tsx index 0b9c9f0..80cc960 100644 --- a/src/features/staking/ActiveStakesTable.tsx +++ b/src/features/staking/ActiveStakesTable.tsx @@ -51,7 +51,8 @@ export function ActiveStakesTable({ const name = addressToGroup?.[address]?.name; return { address, name, stake, percentage }; }) - .sort((a, b) => b.stake - a.stake); + .sort((a, b) => b.stake - a.stake) + .filter((d) => d.stake >= 0.01); const chartData = sortAndCombineChartData( tableData.map(({ address, stake, percentage }) => ({