Skip to content

Commit

Permalink
Merge pull request #2212 from webb-tools/develop
Browse files Browse the repository at this point in the history
Add View Account button on nomination page (#2211)
  • Loading branch information
vutuanlinh2k2 authored Apr 10, 2024
2 parents f6393ec + 4f199f8 commit cb75eb0
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -86,6 +86,16 @@ const NominatorStatsContainer: FC = () => {
</Link>
)}

<Link href={PagePath.ACCOUNT}>
<Button
variant="utility"
className="!min-w-[100px]"
isDisabled={isActiveAccountLoading}
>
View Account
</Button>
</Link>

{isFirstTimeNominator && (
<Button
variant="utility"
Expand Down

0 comments on commit cb75eb0

Please sign in to comment.