From 4f199f89a0ea847e84cfd52498f13defad198a35 Mon Sep 17 00:00:00 2001 From: vutuanlinh2k2 <69841784+vutuanlinh2k2@users.noreply.github.com> Date: Wed, 10 Apr 2024 16:41:50 +0700 Subject: [PATCH] Add View Account button on nomination page (#2211) --- .../NominatorStatsContainer.tsx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/apps/tangle-dapp/containers/NominatorStatsContainer/NominatorStatsContainer.tsx b/apps/tangle-dapp/containers/NominatorStatsContainer/NominatorStatsContainer.tsx index b578b02842..c1574888df 100644 --- a/apps/tangle-dapp/containers/NominatorStatsContainer/NominatorStatsContainer.tsx +++ b/apps/tangle-dapp/containers/NominatorStatsContainer/NominatorStatsContainer.tsx @@ -17,7 +17,7 @@ import { NominatorStatsItem, UnbondingStatsItem } from '../../components'; import useNetworkStore from '../../context/useNetworkStore'; import useIsFirstTimeNominator from '../../hooks/useIsFirstTimeNominator'; import useNetworkFeatures from '../../hooks/useNetworkFeatures'; -import { NetworkFeature } from '../../types'; +import { NetworkFeature, PagePath } from '../../types'; import { evmToSubstrateAddress } from '../../utils'; import { BondMoreTxContainer } from '../BondMoreTxContainer'; import { DelegateTxContainer } from '../DelegateTxContainer'; @@ -86,6 +86,16 @@ const NominatorStatsContainer: FC = () => { )} + + + + {isFirstTimeNominator && (