diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-27 05:26:29 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-27 05:27:40 +0800 |
commit | 9206f2d288f33367877d2d557d50f1d485d4b92e (patch) | |
tree | 393661927c961ea5b4f9d69718c31c2c4d49ad17 /packages/instant/src/components | |
parent | 2fec7613c408a046c130f4c5817696ab3b5e3928 (diff) | |
download | dexon-0x-contracts-9206f2d288f33367877d2d557d50f1d485d4b92e.tar.gz dexon-0x-contracts-9206f2d288f33367877d2d557d50f1d485d4b92e.tar.zst dexon-0x-contracts-9206f2d288f33367877d2d557d50f1d485d4b92e.zip |
Token selector searched
Diffstat (limited to 'packages/instant/src/components')
-rw-r--r-- | packages/instant/src/components/erc20_token_selector.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/instant/src/components/erc20_token_selector.tsx b/packages/instant/src/components/erc20_token_selector.tsx index 1b1921acb..0a3d4427a 100644 --- a/packages/instant/src/components/erc20_token_selector.tsx +++ b/packages/instant/src/components/erc20_token_selector.tsx @@ -3,6 +3,7 @@ import * as React from 'react'; import { ColorOption } from '../style/theme'; import { ERC20Asset } from '../types'; +import { analytics } from '../util/analytics'; import { assetUtils } from '../util/asset'; import { SearchInput } from './search_input'; @@ -57,6 +58,7 @@ export class ERC20TokenSelector extends React.Component<ERC20TokenSelectorProps> this.setState({ searchQuery, }); + analytics.trackTokenSelectorSearched(searchQuery); }; private readonly _isTokenQueryMatch = (token: ERC20Asset): boolean => { const { searchQuery } = this.state; |