Skip to content

Commit

Permalink
Add staking routing in menu (#1265)
Browse files Browse the repository at this point in the history
Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>
  • Loading branch information
stefashkaa and stefashkaa authored Jan 4, 2024
1 parent 9ad9676 commit 822bb7c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/consts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { LiquiditySourceTypes } from '@sora-substrate/liquidity-proxy/build/cons
import invert from 'lodash/fp/invert';

import { StakingPageNames } from '@/modules/staking/consts';
import { SoraStakingPageNames } from '@/modules/staking/sora/consts';

import pkg from '../../package.json';

Expand Down Expand Up @@ -414,8 +415,13 @@ export const RewardsChildPages = [
PageNames.ReferralBonding,
PageNames.ReferralUnbonding,
];

export const StakingChildPages = [StakingPageNames.Staking];
export const StakingChildPages = [
StakingPageNames.Staking,
SoraStakingPageNames.Overview,
SoraStakingPageNames.NewStake,
SoraStakingPageNames.ValidatorsType,
SoraStakingPageNames.SelectValidators,
];
export const ExploreChildPages = [
PageNames.ExploreFarming, // By default
PageNames.ExploreStaking,
Expand Down

0 comments on commit 822bb7c

Please sign in to comment.