Prevent React prop warning for maxSlippage (#9834)

feature/default_network_editable
David Walsh 4 years ago committed by GitHub
parent 909795571b
commit 783d3bacfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ui/app/pages/swaps/index.js

@ -305,7 +305,7 @@ export default function Swap() {
ethBalance={ethBalance} ethBalance={ethBalance}
setMaxSlippage={setMaxSlippage} setMaxSlippage={setMaxSlippage}
selectedAccountAddress={selectedAccountAddress} selectedAccountAddress={selectedAccountAddress}
maxSlippage={maxSlippage} maxSlippage={Number(maxSlippage)}
/> />
) )
}} }}

Loading…
Cancel
Save