From 783d3bacfb3f3722bfe542394c14c9e2bb87da45 Mon Sep 17 00:00:00 2001 From: David Walsh Date: Mon, 9 Nov 2020 17:54:04 -0600 Subject: [PATCH] Prevent React prop warning for maxSlippage (#9834) --- ui/app/pages/swaps/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/pages/swaps/index.js b/ui/app/pages/swaps/index.js index 5f1667110..52522c2f1 100644 --- a/ui/app/pages/swaps/index.js +++ b/ui/app/pages/swaps/index.js @@ -305,7 +305,7 @@ export default function Swap() { ethBalance={ethBalance} setMaxSlippage={setMaxSlippage} selectedAccountAddress={selectedAccountAddress} - maxSlippage={maxSlippage} + maxSlippage={Number(maxSlippage)} /> ) }}