diff --git a/packages/react-app/src/components/Exchange.js b/packages/react-app/src/components/Exchange.js index 5279ac0..19a09d2 100644 --- a/packages/react-app/src/components/Exchange.js +++ b/packages/react-app/src/components/Exchange.js @@ -13,6 +13,9 @@ import Balance from "./"; import styles from "../styles"; const Exchange = ({ pools }) => { + const { account } = useEthers(); + + const isApproving = isOperationPending(swapApproveState); const isSwapping = isOperationPending(swapExecuteState);