switch menu order to alphabetical
This commit is contained in:
parent
554dae1e7b
commit
9bd361de08
|
@ -213,19 +213,6 @@ const SideNav = ({ collapsed }: { collapsed: boolean }) => {
|
|||
icon={<ArrowTrendingUpIcon className="h-5 w-5" />}
|
||||
title={t('trade')}
|
||||
>
|
||||
<MenuItem
|
||||
active={
|
||||
pathname === '/trade' &&
|
||||
!!query?.name &&
|
||||
!query.name.includes('PERP')
|
||||
}
|
||||
collapsed={false}
|
||||
icon={<CoinIcon className="h-5 w-5" />}
|
||||
title={t('spot')}
|
||||
pagePath="/trade?name=SOL/USDC"
|
||||
hideIconBg
|
||||
showTooltip={false}
|
||||
/>
|
||||
<MenuItem
|
||||
active={
|
||||
pathname === '/trade' &&
|
||||
|
@ -239,6 +226,19 @@ const SideNav = ({ collapsed }: { collapsed: boolean }) => {
|
|||
hideIconBg
|
||||
showTooltip={false}
|
||||
/>
|
||||
<MenuItem
|
||||
active={
|
||||
pathname === '/trade' &&
|
||||
!!query?.name &&
|
||||
!query.name.includes('PERP')
|
||||
}
|
||||
collapsed={false}
|
||||
icon={<CoinIcon className="h-5 w-5" />}
|
||||
title={t('spot')}
|
||||
pagePath="/trade?name=SOL/USDC"
|
||||
hideIconBg
|
||||
showTooltip={false}
|
||||
/>
|
||||
</ExpandableMenuItem>
|
||||
<MenuItem
|
||||
active={pathname === '/borrow'}
|
||||
|
|
Loading…
Reference in New Issue