switch menu order to alphabetical

This commit is contained in:
saml33 2023-12-05 09:23:40 +11:00
parent 554dae1e7b
commit 9bd361de08
1 changed files with 13 additions and 13 deletions

View File

@ -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'}