1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Prevent React prop warning for maxSlippage (#9834)

This commit is contained in:
David Walsh 2020-11-09 17:54:04 -06:00 committed by GitHub
parent 909795571b
commit 783d3bacfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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