diff options
Diffstat (limited to 'packages/instant/public/index.html')
-rw-r--r-- | packages/instant/public/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/public/index.html b/packages/instant/public/index.html index 95216a929..0ee144a28 100644 --- a/packages/instant/public/index.html +++ b/packages/instant/public/index.html @@ -62,8 +62,8 @@ const renderOptionsOverrides = { liquiditySource: liquiditySourceOverride === 'provided' ? [providedOrder] : liquiditySourceOverride, assetData: queryParams.getQueryParamValue('assetData'), - network: +queryParams.getQueryParamValue('network'), - defaultAssetBuyAmount: +queryParams.getQueryParamValue('defaultAssetBuyAmount'), + network: +queryParams.getQueryParamValue('network') || undefined, + defaultAssetBuyAmount: +queryParams.getQueryParamValue('defaultAssetBuyAmount') || undefined, } const renderOptions = Object.assign({}, renderOptionsDefaults, removeUndefined(renderOptionsOverrides)); zeroExInstant.render(renderOptions); |