fix build

This commit is contained in:
Yana
2025-05-08 15:08:48 +03:00
parent 7a8ac59a36
commit d458df9c34
2 changed files with 1 additions and 6 deletions
@@ -38,6 +38,7 @@ import StakeModal from "./StakeModal";
import type { MappedNymNode, MappedNymNodes } from "./StakeTableWithAction";
import { fee } from "./schemas";
type DelegationWithNodeDetails = {
node: MappedNymNode | undefined;
delegation: Delegation;
@@ -51,12 +51,6 @@ const mappedNSApiNodes = (
: 0,
owner: node.bonding_address,
stakeSaturation: nodeSaturationPoint,
qualityOfService: +node.uptime * 100,
mixnode: node.self_description?.declared_role.mixnode === true,
gateway:
node.self_description?.declared_role.entry === true ||
node.self_description?.declared_role.exit_ipr === true ||
node.self_description?.declared_role.exit_nr === true,
};
})
.sort((a, b) => {