Skip to content

Commit 4f6ab1d

Browse files
fix(portfolio): remove sort options
Token Price and Quantity
1 parent b764b91 commit 4f6ab1d

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
@@ -599,7 +599,6 @@
599599
"Protocol": "Protocol",
600600
"Provider": "Provider",
601601
"Public key not found": "Public key not found",
602-
"Quantity": "Quantity",
603602
"Quote includes an {{coreFee}} Core fee": "Quote includes an {{coreFee}} Core fee",
604603
"RPC URL": "RPC URL",
605604
"RPC URL reset successfully": "RPC URL reset successfully",
@@ -783,7 +782,6 @@
783782
"Token Added": "Token Added",
784783
"Token Decimals": "Token Decimals",
785784
"Token Name": "Token Name",
786-
"Token Price": "Token Price",
787785
"Token already exists in the wallet.": "Token already exists in the wallet.",
788786
"Token contract address": "Token contract address",
789787
"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)