diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-10-26 05:37:34 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-10-26 05:37:34 +0800 |
commit | 23b165669202c1bdf4bd7d7e509b9bfe06e3ef8a (patch) | |
tree | 28391ad5e06b532075e1d93ce4fa381d96e2f12e /packages/instant/public | |
parent | d06b40bd8a938557ebba993afa78d20493ad71ef (diff) | |
download | dexon-0x-contracts-23b165669202c1bdf4bd7d7e509b9bfe06e3ef8a.tar dexon-0x-contracts-23b165669202c1bdf4bd7d7e509b9bfe06e3ef8a.tar.gz dexon-0x-contracts-23b165669202c1bdf4bd7d7e509b9bfe06e3ef8a.tar.bz2 dexon-0x-contracts-23b165669202c1bdf4bd7d7e509b9bfe06e3ef8a.tar.lz dexon-0x-contracts-23b165669202c1bdf4bd7d7e509b9bfe06e3ef8a.tar.xz dexon-0x-contracts-23b165669202c1bdf4bd7d7e509b9bfe06e3ef8a.tar.zst dexon-0x-contracts-23b165669202c1bdf4bd7d7e509b9bfe06e3ef8a.zip |
feat: support defaultAssetBuyAmount setting
Diffstat (limited to 'packages/instant/public')
-rw-r--r-- | packages/instant/public/index.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/instant/public/index.html b/packages/instant/public/index.html index ba31a86ac..95216a929 100644 --- a/packages/instant/public/index.html +++ b/packages/instant/public/index.html @@ -62,7 +62,8 @@ const renderOptionsOverrides = { liquiditySource: liquiditySourceOverride === 'provided' ? [providedOrder] : liquiditySourceOverride, assetData: queryParams.getQueryParamValue('assetData'), - network: parseInt(queryParams.getQueryParamValue('network'), 10), + network: +queryParams.getQueryParamValue('network'), + defaultAssetBuyAmount: +queryParams.getQueryParamValue('defaultAssetBuyAmount'), } const renderOptions = Object.assign({}, renderOptionsDefaults, removeUndefined(renderOptionsOverrides)); zeroExInstant.render(renderOptions); |