From 1eb39d1383a8a40db432bcb868a174e71db09d51 Mon Sep 17 00:00:00 2001 From: Yana Date: Tue, 24 Jun 2025 15:33:52 +0300 Subject: [PATCH] fix build --- .../src/app/(pages)/account/[address]/not-found/page.tsx | 4 ++-- .../components/nymNodePageComponents/NodePageButtonGroup.tsx | 1 - explorer-v2/src/components/staking/SubHeaderRowActions.tsx | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/explorer-v2/src/app/(pages)/account/[address]/not-found/page.tsx b/explorer-v2/src/app/(pages)/account/[address]/not-found/page.tsx index 23f582c7bd..9d017cd98b 100644 --- a/explorer-v2/src/app/(pages)/account/[address]/not-found/page.tsx +++ b/explorer-v2/src/app/(pages)/account/[address]/not-found/page.tsx @@ -24,8 +24,8 @@ export default async function AccountNotFound({ - This account does't have a Nym node bonded. Is this your account? - Start [setting up your node](https://nym.com/docs) today! + This account doesn't have a Nym node bonded. Is this your + account? Start [setting up your node](https://nym.com/docs) today! diff --git a/explorer-v2/src/components/nymNodePageComponents/NodePageButtonGroup.tsx b/explorer-v2/src/components/nymNodePageComponents/NodePageButtonGroup.tsx index 9182eb94bf..4ea6dd6d8d 100644 --- a/explorer-v2/src/components/nymNodePageComponents/NodePageButtonGroup.tsx +++ b/explorer-v2/src/components/nymNodePageComponents/NodePageButtonGroup.tsx @@ -7,7 +7,6 @@ import { useEnvironment } from "@/providers/EnvironmentProvider"; import { useQuery } from "@tanstack/react-query"; import { getBasePathByEnv } from "../../../envs/config"; import { Box } from "@mui/material"; -import SectionHeading from "@/components/headings/SectionHeading"; type Props = { paramId: string; diff --git a/explorer-v2/src/components/staking/SubHeaderRowActions.tsx b/explorer-v2/src/components/staking/SubHeaderRowActions.tsx index fd885b7da3..80807f70e2 100644 --- a/explorer-v2/src/components/staking/SubHeaderRowActions.tsx +++ b/explorer-v2/src/components/staking/SubHeaderRowActions.tsx @@ -159,7 +159,7 @@ const SubHeaderRowActions = () => { return ; } - if (isTotalStakerRewardsError) { + if (isDelegationsError || isTotalStakerRewardsError) { return (