Skip to content

Commit

Permalink
Hide stake dust
Browse files Browse the repository at this point in the history
  • Loading branch information
jmrossy committed Apr 27, 2024
1 parent 8d9bd84 commit 8e2b193
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/features/staking/ActiveStakesTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => ({
Expand Down

0 comments on commit 8e2b193

Please sign in to comment.