aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/index.umd.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-11-21 23:43:36 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-11-21 23:43:36 +0800
commitfc123871ad9b1e791b8156d069c503e8d869139c (patch)
treef31546c91d6936432f18d2a2c224549c7f65c9c9 /packages/instant/src/index.umd.ts
parentb62fbd0b13dbef67d8df1177b1ca6b4d082faaa9 (diff)
parentf27fef0295243eeb85498ee09810a2f56afd88bd (diff)
downloaddexon-sol-tools-fc123871ad9b1e791b8156d069c503e8d869139c.tar
dexon-sol-tools-fc123871ad9b1e791b8156d069c503e8d869139c.tar.gz
dexon-sol-tools-fc123871ad9b1e791b8156d069c503e8d869139c.tar.bz2
dexon-sol-tools-fc123871ad9b1e791b8156d069c503e8d869139c.tar.lz
dexon-sol-tools-fc123871ad9b1e791b8156d069c503e8d869139c.tar.xz
dexon-sol-tools-fc123871ad9b1e791b8156d069c503e8d869139c.tar.zst
dexon-sol-tools-fc123871ad9b1e791b8156d069c503e8d869139c.zip
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/instant/push-to-history
Diffstat (limited to 'packages/instant/src/index.umd.ts')
-rw-r--r--packages/instant/src/index.umd.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/instant/src/index.umd.ts b/packages/instant/src/index.umd.ts
index 64f888e00..59f658b33 100644
--- a/packages/instant/src/index.umd.ts
+++ b/packages/instant/src/index.umd.ts
@@ -43,6 +43,9 @@ export const render = (config: ZeroExInstantConfig, selector: string = DEFAULT_Z
if (!_.isUndefined(config.shouldDisablePushToHistory)) {
assert.isBoolean('shouldDisablePushToHistory', config.shouldDisablePushToHistory);
}
+ if (!_.isUndefined(props.shouldDisableAnalyticsTracking)) {
+ assert.isBoolean('props.shouldDisableAnalyticsTracking', props.shouldDisableAnalyticsTracking);
+ }
assert.isString('selector', selector);
// Render instant and return a callback that allows you to remove it from the DOM.
const renderInstant = () => {