fix build
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user