aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/util
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-16 03:33:04 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-16 03:33:04 +0800
commita8863ac85e49f11b108fe17186728e335a48ec3c (patch)
treed2237e1ca5b4d4abcd179dfa3d946250aea11080 /packages/instant/src/util
parentca9bb45327d2c5a8a83f2d261b134bf8489b3395 (diff)
downloaddexon-sol-tools-a8863ac85e49f11b108fe17186728e335a48ec3c.tar.gz
dexon-sol-tools-a8863ac85e49f11b108fe17186728e335a48ec3c.tar.zst
dexon-sol-tools-a8863ac85e49f11b108fe17186728e335a48ec3c.zip
Take out console.logs
Diffstat (limited to 'packages/instant/src/util')
-rw-r--r--packages/instant/src/util/analytics.ts3
1 files changed, 0 insertions, 3 deletions
diff --git a/packages/instant/src/util/analytics.ts b/packages/instant/src/util/analytics.ts
index 6b6115abe..dd595529d 100644
--- a/packages/instant/src/util/analytics.ts
+++ b/packages/instant/src/util/analytics.ts
@@ -24,15 +24,12 @@ const evaluteHeapCall = (heapFunctionCall: (heap: HeapAnalytics) => void): void
export const analytics = {
addUserProperties: (properties: ObjectMap<string | number>): void => {
- console.log('HEAP: adding user properties', properties);
evaluteHeapCall(heap => heap.addUserProperties(properties));
},
addEventProperties: (properties: ObjectMap<string | number>): void => {
- console.log('HEAP: adding user properties', properties);
evaluteHeapCall(heap => heap.addEventProperties(properties));
},
track: (eventName: string, eventProperties?: ObjectMap<string | number>): void => {
- console.log('HEAP: tracking', eventName, eventProperties);
evaluteHeapCall(heap => heap.track(eventName, eventProperties));
},
};