diff --git a/components/swap/SwapForm.tsx b/components/swap/SwapForm.tsx index 3f921198..0e249354 100644 --- a/components/swap/SwapForm.tsx +++ b/components/swap/SwapForm.tsx @@ -427,6 +427,7 @@ const SwapForm = () => { void useMargin: boolean }) => { @@ -510,7 +513,11 @@ const SwapFormSubmitButton = ({ : tokenMax.lt(amountIn) const disabled = - connected && (!amountIn.toNumber() || showInsufficientBalance || !amountOut) + connected && + (!amountIn.toNumber() || + showInsufficientBalance || + !amountOut || + !selectedRoute) const onClick = connected ? () => setShowConfirm(true) : handleConnect