From d458df9c345d7573b59abf0ee1dd16f1cc469955 Mon Sep 17 00:00:00 2001 From: Yana Date: Thu, 8 May 2025 15:08:48 +0300 Subject: [PATCH] fix build --- explorer-v2/src/components/staking/StakeTable.tsx | 1 + explorer-v2/src/components/staking/StakeTableWithAction.tsx | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/explorer-v2/src/components/staking/StakeTable.tsx b/explorer-v2/src/components/staking/StakeTable.tsx index 95b191f858..039487c381 100644 --- a/explorer-v2/src/components/staking/StakeTable.tsx +++ b/explorer-v2/src/components/staking/StakeTable.tsx @@ -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; diff --git a/explorer-v2/src/components/staking/StakeTableWithAction.tsx b/explorer-v2/src/components/staking/StakeTableWithAction.tsx index d4097e33e7..dcb11f4825 100644 --- a/explorer-v2/src/components/staking/StakeTableWithAction.tsx +++ b/explorer-v2/src/components/staking/StakeTableWithAction.tsx @@ -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) => {