diff --git a/src/components/AddLiquidity/AddLiquidity.tsx b/src/components/AddLiquidity/AddLiquidity.tsx index a630e0b3d..40e0e93b4 100755 --- a/src/components/AddLiquidity/AddLiquidity.tsx +++ b/src/components/AddLiquidity/AddLiquidity.tsx @@ -176,6 +176,8 @@ const AddLiquidity: React.FC<{ const isnotMatic = ethereum && ethereum.isMetaMask && Number(ethereum.chainId) !== 137; const toggleWalletModal = useWalletModalToggle(); + const [approvingA, setApprovingA] = useState(false); + const [approvingB, setApprovingB] = useState(false); const [approvalA, approveACallback] = useApproveCallback( parsedAmounts[Field.CURRENCY_A], ROUTER_ADDRESS, @@ -546,8 +548,16 @@ const AddLiquidity: React.FC<{ width={approvalB !== ApprovalState.APPROVED ? '48%' : '100%'} >