aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/public
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-10-26 05:23:31 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-10-26 05:23:31 +0800
commitd06b40bd8a938557ebba993afa78d20493ad71ef (patch)
tree123a580490286578c699559c736dc6d9105b2a3f /packages/instant/public
parentde18fa0069727a754ffe53df5ca80153c977e5c1 (diff)
downloaddexon-sol-tools-d06b40bd8a938557ebba993afa78d20493ad71ef.tar
dexon-sol-tools-d06b40bd8a938557ebba993afa78d20493ad71ef.tar.gz
dexon-sol-tools-d06b40bd8a938557ebba993afa78d20493ad71ef.tar.bz2
dexon-sol-tools-d06b40bd8a938557ebba993afa78d20493ad71ef.tar.lz
dexon-sol-tools-d06b40bd8a938557ebba993afa78d20493ad71ef.tar.xz
dexon-sol-tools-d06b40bd8a938557ebba993afa78d20493ad71ef.tar.zst
dexon-sol-tools-d06b40bd8a938557ebba993afa78d20493ad71ef.zip
chore: use parseInt instead of +
Diffstat (limited to 'packages/instant/public')
-rw-r--r--packages/instant/public/index.html2
1 files changed, 1 insertions, 1 deletions
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);