From 965b253474640dc157ccad51bf7a4b348c4d02c2 Mon Sep 17 00:00:00 2001 From: dev <80750539+sledge-dev@users.noreply.github.com> Date: Thu, 18 Mar 2021 17:47:59 +0100 Subject: [PATCH] fix: fix unused parameter --- src/constants/abis/swap.json | 5 ----- src/hooks/useApproveAndDeposit.ts | 1 - 2 files changed, 6 deletions(-) diff --git a/src/constants/abis/swap.json b/src/constants/abis/swap.json index 7df0ff6..6d80ea7 100644 --- a/src/constants/abis/swap.json +++ b/src/constants/abis/swap.json @@ -373,11 +373,6 @@ "internalType": "uint256", "name": "deadline", "type": "uint256" - }, - { - "internalType": "bytes32[]", - "name": "merkleProof", - "type": "bytes32[]" } ], "name": "addLiquidity", diff --git a/src/hooks/useApproveAndDeposit.ts b/src/hooks/useApproveAndDeposit.ts index 1d9ffbe..499ec53 100644 --- a/src/hooks/useApproveAndDeposit.ts +++ b/src/hooks/useApproveAndDeposit.ts @@ -137,7 +137,6 @@ export function useApproveAndDeposit( POOL.poolTokens.map(({ symbol }) => state[symbol].valueSafe), minToMint, Math.round(new Date().getTime() / 1000 + 60 * deadline), - [], { gasPrice, },