diff --git a/src/components/Widget/inputs.tsx b/src/components/Widget/inputs.tsx index 57442d9aaf..0a2b746f19 100644 --- a/src/components/Widget/inputs.tsx +++ b/src/components/Widget/inputs.tsx @@ -65,7 +65,7 @@ export function useSyncWidgetInputs(defaultToken?: Currency) { setType(TradeType.EXACT_INPUT) setTokens(() => { return { - [otherField]: token === otherToken ? selectingToken : otherToken, + [otherField]: otherToken?.equals(token) ? selectingToken : otherToken, [selectingField]: token, } })