Commit 537fea10 authored by Connor McEwen's avatar Connor McEwen Committed by GitHub

fix: revert max input formatting change (#4865)

revert max input formatting change
parent 87a6e270
...@@ -483,7 +483,7 @@ export default function Swap() { ...@@ -483,7 +483,7 @@ export default function Swap() {
) )
const handleMaxInput = useCallback(() => { const handleMaxInput = useCallback(() => {
maxInputAmount && onUserInput(Field.INPUT, formatTransactionAmount(currencyAmountToPreciseFloat(maxInputAmount))) maxInputAmount && onUserInput(Field.INPUT, maxInputAmount.toExact())
sendEvent({ sendEvent({
category: 'Swap', category: 'Swap',
action: 'Max', action: 'Max',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment