feat: 修改菜单
This commit is contained in:
parent
cd064ce668
commit
76b8d6fb2b
|
|
@ -144,7 +144,7 @@ const App: React.FC = () => {
|
|||
</Route>
|
||||
|
||||
{/* Using this format because these components use routes injected props. We need to rework them with hooks */}
|
||||
<Route exact strict path="/swap" component={Swap} />
|
||||
{/* <Route exact strict path="/swap" component={Swap} />
|
||||
<Route exact strict path="/swap/:outputCurrency" component={RedirectToSwap} />
|
||||
<Route exact strict path="/send" component={RedirectPathToSwapOnly} />
|
||||
<Route exact strict path="/find" component={PoolFinder} />
|
||||
|
|
@ -159,7 +159,7 @@ const App: React.FC = () => {
|
|||
<Route exact strict path="/remove/:tokens" component={RedirectOldRemoveLiquidityPathStructure} />
|
||||
<Route exact strict path="/remove/:currencyIdA/:currencyIdB" component={RemoveLiquidity} />
|
||||
<Route exact strict path="/nft" component={Nft} />
|
||||
<Route exact strict path="/announcement" component={Announcement} />
|
||||
<Route exact strict path="/announcement" component={Announcement} /> */}
|
||||
|
||||
{/* Redirect */}
|
||||
{/* <Route path="/staking">
|
||||
|
|
|
|||
|
|
@ -7,24 +7,24 @@ const config: (t: ContextApi['t']) => MenuEntry[] = (t) => [
|
|||
icon: 'HomeIcon',
|
||||
href: '/',
|
||||
},
|
||||
{
|
||||
label: t('Trade'),
|
||||
icon: 'TradeIcon',
|
||||
items: [
|
||||
{
|
||||
label: t('Exchange'),
|
||||
href: '/swap',
|
||||
},
|
||||
{
|
||||
label: t('Liquidity'),
|
||||
href: '/pool',
|
||||
},
|
||||
// {
|
||||
// label: t('LP Migration'),
|
||||
// href: 'https://v1exchange.pancakeswap.finance/#/migrate',
|
||||
// },
|
||||
],
|
||||
},
|
||||
// {
|
||||
// label: t('Trade'),
|
||||
// icon: 'TradeIcon',
|
||||
// items: [
|
||||
// {
|
||||
// label: t('Exchange'),
|
||||
// href: '/swap',
|
||||
// },
|
||||
// {
|
||||
// label: t('Liquidity'),
|
||||
// href: '/pool',
|
||||
// },
|
||||
// // {
|
||||
// // label: t('LP Migration'),
|
||||
// // href: 'https://v1exchange.pancakeswap.finance/#/migrate',
|
||||
// // },
|
||||
// ],
|
||||
// },
|
||||
{
|
||||
label: t('Farms'),
|
||||
icon: 'FarmIcon',
|
||||
|
|
|
|||
Loading…
Reference in New Issue