aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/util
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-17 07:29:59 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-17 07:29:59 +0800
commit83a6d7b97d9bea901c4d02d1a46186e64e3db367 (patch)
tree853be266f9e8390943835f65ce512454ed7fc812 /packages/instant/src/util
parente8be70da10c887956d6e200f7d551d3d7bbafb93 (diff)
downloaddexon-sol-tools-83a6d7b97d9bea901c4d02d1a46186e64e3db367.tar.gz
dexon-sol-tools-83a6d7b97d9bea901c4d02d1a46186e64e3db367.tar.zst
dexon-sol-tools-83a6d7b97d9bea901c4d02d1a46186e64e3db367.zip
Remove old function
Diffstat (limited to 'packages/instant/src/util')
-rw-r--r--packages/instant/src/util/analytics.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/packages/instant/src/util/analytics.ts b/packages/instant/src/util/analytics.ts
index 4c229be03..1667c246c 100644
--- a/packages/instant/src/util/analytics.ts
+++ b/packages/instant/src/util/analytics.ts
@@ -5,7 +5,6 @@ import { heapUtil } from './heap';
enum EventNames {
INSTANT_OPENED = 'Instant - Opened',
WALLET_READY = 'Wallet - Ready',
- WIDGET_OPENED = 'Widget - Opened',
}
const track = (eventName: EventNames, eventData: ObjectMap<string | number> = {}): void => {
heapUtil.evaluateHeapCall(heap => heap.track(eventName, eventData));
@@ -44,6 +43,5 @@ export const analytics = {
heapUtil.evaluateHeapCall(heap => heap.addEventProperties(properties));
},
trackWalletReady: trackingEventFnWithoutPayload(EventNames.WALLET_READY),
- trackWidgetOpened: trackingEventFnWithoutPayload(EventNames.WIDGET_OPENED),
trackInstantOpened: trackingEventFnWithoutPayload(EventNames.INSTANT_OPENED),
};