Skip to content

Commit 95dd011

Browse files
fix(portfolio): remove sort options
Token Price and Quantity
1 parent 552b6a0 commit 95dd011

File tree

2 files changed

+2
-7
lines changed
  • apps/next/src

2 files changed

+2
-7
lines changed

apps/next/src/localization/locales/en/translation.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,6 @@
603603
"Protocol": "Protocol",
604604
"Provider": "Provider",
605605
"Public key not found": "Public key not found",
606-
"Quantity": "Quantity",
607606
"Quote includes an {{coreFee}} Core fee": "Quote includes an {{coreFee}} Core fee",
608607
"RPC URL": "RPC URL",
609608
"RPC URL reset successfully": "RPC URL reset successfully",
@@ -789,7 +788,6 @@
789788
"Token Added": "Token Added",
790789
"Token Decimals": "Token Decimals",
791790
"Token Name": "Token Name",
792-
"Token Price": "Token Price",
793791
"Token already exists in the wallet.": "Token already exists in the wallet.",
794792
"Token contract address": "Token contract address",
795793
"Token name": "Token name",

apps/next/src/pages/Portfolio/components/PortfolioHome/components/PortolioDetails/components/SortMenu.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import { PopoverItem } from '@avalabs/k2-alpine';
1+
import { DropdownMenu } from '@/components/DropdownMenu';
2+
import { Box, PopoverItem } from '@avalabs/k2-alpine';
23
import { FC } from 'react';
34
import { useTranslation } from 'react-i18next';
45
import { AssetSortOption } from '../utils/assetSorting';
5-
import { DropdownMenu } from '@/components/DropdownMenu';
6-
import { Box } from '@avalabs/k2-alpine';
76

87
export type SortMenuProps = {
98
id: string;
@@ -19,8 +18,6 @@ export const SortMenu: FC<SortMenuProps> = ({ id, sort, onSortChange }) => {
1918
{ label: t('Balance'), value: 'balance' },
2019
{ label: t('Name A to Z'), value: 'name-asc' },
2120
{ label: t('Name Z to A'), value: 'name-desc' },
22-
{ label: t('Quantity'), value: 'balance-quantity' },
23-
{ label: t('Token Price'), value: 'token-price' },
2421
];
2522

2623
return (

0 commit comments

Comments
 (0)