From d06b40bd8a938557ebba993afa78d20493ad71ef Mon Sep 17 00:00:00 2001 From: fragosti Date: Thu, 25 Oct 2018 14:23:31 -0700 Subject: chore: use parseInt instead of + --- packages/instant/public/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/instant/public/index.html b/packages/instant/public/index.html index 038d13762..ba31a86ac 100644 --- a/packages/instant/public/index.html +++ b/packages/instant/public/index.html @@ -62,7 +62,7 @@ const renderOptionsOverrides = { liquiditySource: liquiditySourceOverride === 'provided' ? [providedOrder] : liquiditySourceOverride, assetData: queryParams.getQueryParamValue('assetData'), - network: +queryParams.getQueryParamValue('network'), + network: parseInt(queryParams.getQueryParamValue('network'), 10), } const renderOptions = Object.assign({}, renderOptionsDefaults, removeUndefined(renderOptionsOverrides)); zeroExInstant.render(renderOptions); -- cgit v1.2.3