Skip to content

Commit

Permalink
Update input as exact amount flag sooner (#1258)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinchung authored Oct 30, 2020
1 parent 8d06f8a commit 433de14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useSwapInputs.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ export default function useSwapInputs({
);
}

setInputAsExactAmount(true);
setInputAmount(inputAmount);
setInputAmountDisplay(inputAmountDisplay);
setInputAsExactAmount(true);
},
[inputCurrency]
);
Expand Down

0 comments on commit 433de14

Please sign in to comment.