From 93c189fcb02da3d416fbb99b270041c40d7770e4 Mon Sep 17 00:00:00 2001 From: Yana Date: Tue, 17 Dec 2024 21:55:04 +0700 Subject: [PATCH] fix build --- explorer-nextjs/src/app/account/[id]/page.tsx | 4 ++-- .../components/accountPageComponents/AccountBalancesCard.tsx | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/explorer-nextjs/src/app/account/[id]/page.tsx b/explorer-nextjs/src/app/account/[id]/page.tsx index 69f11895a1..d139b0639a 100644 --- a/explorer-nextjs/src/app/account/[id]/page.tsx +++ b/explorer-nextjs/src/app/account/[id]/page.tsx @@ -37,10 +37,10 @@ export interface IAccountInfo { balances: IAmountDetails[]; claimable_rewards: IAmountDetails; delegations: IDelegationDetails[]; - operator_rewards: null | any; + operator_rewards?: null | IAmountDetails; total_delegations: ITotalDetails; total_value: ITotalDetails; - vesting_account: null | any; + vesting_account?: null | string; } export default async function Account({ diff --git a/explorer-nextjs/src/components/accountPageComponents/AccountBalancesCard.tsx b/explorer-nextjs/src/components/accountPageComponents/AccountBalancesCard.tsx index 6f437d10ad..0b2f06e865 100644 --- a/explorer-nextjs/src/components/accountPageComponents/AccountBalancesCard.tsx +++ b/explorer-nextjs/src/components/accountPageComponents/AccountBalancesCard.tsx @@ -1,9 +1,7 @@ "use client"; import type { IAccountInfo } from "@/app/account/[id]/page"; -import ExplorerCard from "../cards/ExplorerCard"; - -import { runTurboTracing } from "next/dist/build/swc/generated-native"; import { AccountBalancesTable } from "../cards/AccountBalancesTable"; +import ExplorerCard from "../cards/ExplorerCard"; export interface IAccontStatsRowProps { type: string;