aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-27 05:20:16 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-27 05:20:16 +0800
commit2fec7613c408a046c130f4c5817696ab3b5e3928 (patch)
treed252688b8fa67602f017cf9d7fc6d29e7f410711 /packages/instant/src/components
parenta5359df002d121c1b7c1f29e8a2bd8b351090ee3 (diff)
downloaddexon-sol-tools-2fec7613c408a046c130f4c5817696ab3b5e3928.tar
dexon-sol-tools-2fec7613c408a046c130f4c5817696ab3b5e3928.tar.gz
dexon-sol-tools-2fec7613c408a046c130f4c5817696ab3b5e3928.tar.bz2
dexon-sol-tools-2fec7613c408a046c130f4c5817696ab3b5e3928.tar.lz
dexon-sol-tools-2fec7613c408a046c130f4c5817696ab3b5e3928.tar.xz
dexon-sol-tools-2fec7613c408a046c130f4c5817696ab3b5e3928.tar.zst
dexon-sol-tools-2fec7613c408a046c130f4c5817696ab3b5e3928.zip
Token Selector open, closed, chose
Diffstat (limited to 'packages/instant/src/components')
-rw-r--r--packages/instant/src/components/zero_ex_instant_container.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/instant/src/components/zero_ex_instant_container.tsx b/packages/instant/src/components/zero_ex_instant_container.tsx
index 47c938472..f30bda6ed 100644
--- a/packages/instant/src/components/zero_ex_instant_container.tsx
+++ b/packages/instant/src/components/zero_ex_instant_container.tsx
@@ -12,6 +12,7 @@ import { SelectedAssetInstantHeading } from '../containers/selected_asset_instan
import { ColorOption } from '../style/theme';
import { zIndex } from '../style/z_index';
import { OrderProcessState, SlideAnimationState } from '../types';
+import { analytics } from '../util/analytics';
import { CSSReset } from './css_reset';
import { SlidingPanel } from './sliding_panel';
@@ -82,11 +83,13 @@ export class ZeroExInstantContainer extends React.Component<{}, ZeroExInstantCon
);
}
private readonly _handleSymbolClick = (): void => {
+ analytics.trackTokenSelectorOpened();
this.setState({
tokenSelectionPanelAnimationState: 'slidIn',
});
};
private readonly _handlePanelClose = (): void => {
+ analytics.trackTokenSelectorClosed();
this.setState({
tokenSelectionPanelAnimationState: 'slidOut',
});