From 4db151612bb888da33498976d33cec3731407a64 Mon Sep 17 00:00:00 2001 From: memoyil <2213635+memoyil@users.noreply.github.com> Date: Wed, 11 Dec 2024 21:11:39 +0300 Subject: [PATCH] chore: Remove farm prop --- apps/web/src/components/ZapLiquidityWidget.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/apps/web/src/components/ZapLiquidityWidget.tsx b/apps/web/src/components/ZapLiquidityWidget.tsx index caefdaa4159c1..3e9d54ed95f79 100644 --- a/apps/web/src/components/ZapLiquidityWidget.tsx +++ b/apps/web/src/components/ZapLiquidityWidget.tsx @@ -24,7 +24,6 @@ import CurrencySearchModal from 'components/SearchModal/CurrencySearchModal' import { CommonBasesType } from 'components/SearchModal/types' import { isAddressEqual } from 'utils' import WalletModalManager from 'components/WalletModalManager' -import { useMasterchefV3 } from 'hooks/useContract' interface ZapLiquidityProps { tickLower?: number @@ -85,10 +84,6 @@ export const ZapLiquidityWidget: React.FC = ({ const handleOnWalletConnect = useCallback(() => setIsWalletModalOpen(true), []) - const masterChefV3 = useMasterchefV3() - - const masterChefV3Addresses = useMemo(() => (masterChefV3 ? [masterChefV3.address] : undefined), [masterChefV3]) - const handleOnClick = useCallback(() => { setDepositTokens( [ @@ -235,7 +230,6 @@ export const ZapLiquidityWidget: React.FC = ({ initAmounts={amounts} initDepositTokens={depositTokens} poolAddress={poolAddress ?? '0x'} - farmContractAddresses={masterChefV3Addresses} onConnectWallet={handleOnWalletConnect} onAddTokens={handleAddTokens} onOpenTokenSelectModal={onPresentCurrencyModal}