Skip to content

Commit

Permalink
fix: remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
Majorfi committed Jan 12, 2024
1 parent b3b569b commit 13c5495
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 39 deletions.
4 changes: 0 additions & 4 deletions apps/common/components/AppHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,6 @@ export function AppHeader(): ReactElement {
return [HOME_MENU, ...APPS[AppName.YCRV].menu];
}

if (pathname.startsWith('/ybal')) {
return [HOME_MENU, ...APPS[AppName.YBAL].menu];
}

if (pathname.startsWith('/v3')) {
return [HOME_MENU, ...APPS[AppName.VAULTSV3].menu];
}
Expand Down
10 changes: 0 additions & 10 deletions apps/common/contexts/useWallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,11 @@ import {useDeepCompareMemo} from '@react-hookz/web';
import {onLoadDone, onLoadStart} from '@yearn-finance/web-lib/contexts/useUI';
import {toAddress, zeroAddress} from '@yearn-finance/web-lib/utils/address';
import {
BAL_TOKEN_ADDRESS,
BALWETH_TOKEN_ADDRESS,
CRV_TOKEN_ADDRESS,
CVXCRV_TOKEN_ADDRESS,
ETH_TOKEN_ADDRESS,
LPYBAL_TOKEN_ADDRESS,
LPYCRV_TOKEN_ADDRESS,
LPYCRV_V2_TOKEN_ADDRESS,
STYBAL_TOKEN_ADDRESS,
YBAL_TOKEN_ADDRESS,
YCRV_CURVE_POOL_V2_ADDRESS,
YCRV_TOKEN_ADDRESS,
YVBOOST_TOKEN_ADDRESS,
Expand Down Expand Up @@ -90,11 +85,6 @@ function useYearnTokens({shouldUseForknetBalances}: {shouldUseForknetBalances: b
{chainID: 1, address: YVBOOST_TOKEN_ADDRESS},
{chainID: 1, address: YVECRV_TOKEN_ADDRESS},
{chainID: 1, address: CVXCRV_TOKEN_ADDRESS},
{chainID: 1, address: BAL_TOKEN_ADDRESS},
{chainID: 1, address: YBAL_TOKEN_ADDRESS},
{chainID: 1, address: BALWETH_TOKEN_ADDRESS},
{chainID: 1, address: STYBAL_TOKEN_ADDRESS},
{chainID: 1, address: LPYBAL_TOKEN_ADDRESS},
{chainID: 1, address: YCRV_CURVE_POOL_V2_ADDRESS},
{chainID: 1, address: LPYCRV_V2_TOKEN_ADDRESS}
]
Expand Down
25 changes: 0 additions & 25 deletions apps/common/hooks/useFeatureFlag.tsx

This file was deleted.

0 comments on commit 13c5495

Please sign in to comment.