Skip to content

Commit 7c65d61

Browse files
authored
Merge pull request #3321 from nymtech/bug/explorer-fix-stake-saturation-sorting
Convert stake saturation string to number type
2 parents ad2efb7 + b571f1a commit 7c65d61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

explorer/src/components/MixNodes/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export function mixNodeResponseItemToMixnodeRowType(item: MixNodeResponseItem):
4949
layer: item?.layer || '',
5050
profit_percentage: `${profitPercentage}%`,
5151
avg_uptime: `${toPercentIntegerString(item.node_performance.last_24h)}%`,
52-
stake_saturation: uncappedSaturation.toFixed(2),
52+
stake_saturation: Number(uncappedSaturation.toFixed(2)),
5353
operating_cost: `${unymToNym(item.operating_cost?.amount, 6)} NYM`,
5454
node_performance: `${toPercentIntegerString(item.node_performance.most_recent)}%`,
5555
blacklisted: item.blacklisted,

0 commit comments

Comments
 (0)