diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-12-05 08:33:49 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-12-05 08:33:49 +0800 |
commit | 04226106a293f5e716bb3e268e89c7b231da96aa (patch) | |
tree | a3c3be1b33f677b02ae7b82b8e8de57ad919ed7c | |
parent | 7a03df946dc86ad2b9cc86947cf61bc74dcfbf3c (diff) | |
download | dexon-sol-tools-04226106a293f5e716bb3e268e89c7b231da96aa.tar dexon-sol-tools-04226106a293f5e716bb3e268e89c7b231da96aa.tar.gz dexon-sol-tools-04226106a293f5e716bb3e268e89c7b231da96aa.tar.bz2 dexon-sol-tools-04226106a293f5e716bb3e268e89c7b231da96aa.tar.lz dexon-sol-tools-04226106a293f5e716bb3e268e89c7b231da96aa.tar.xz dexon-sol-tools-04226106a293f5e716bb3e268e89c7b231da96aa.tar.zst dexon-sol-tools-04226106a293f5e716bb3e268e89c7b231da96aa.zip |
ethBalanceInUnitAmount -> lastEthBalanceInUnitAmount
-rw-r--r-- | packages/instant/.DS_Store | bin | 0 -> 8196 bytes | |||
-rw-r--r-- | packages/instant/src/redux/analytics_middleware.ts | 2 | ||||
-rw-r--r-- | packages/instant/src/util/analytics.ts | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/.DS_Store b/packages/instant/.DS_Store Binary files differnew file mode 100644 index 000000000..9a0cceca6 --- /dev/null +++ b/packages/instant/.DS_Store diff --git a/packages/instant/src/redux/analytics_middleware.ts b/packages/instant/src/redux/analytics_middleware.ts index 9a98649f6..3f7a51707 100644 --- a/packages/instant/src/redux/analytics_middleware.ts +++ b/packages/instant/src/redux/analytics_middleware.ts @@ -54,7 +54,7 @@ export const analyticsMiddleware: Middleware = store => next => middlewareAction curAccount.ethBalanceInWei, ETH_DECIMALS, ).toString(); - analytics.addUserProperties({ ethBalanceInUnitAmount}); + analytics.addUserProperties({ lastEthBalanceInUnitAmount: ethBalanceInUnitAmount }); analytics.addEventProperties({ ethBalanceInUnitAmount }); } break; diff --git a/packages/instant/src/util/analytics.ts b/packages/instant/src/util/analytics.ts index b632e8f1a..4bc4e7c6d 100644 --- a/packages/instant/src/util/analytics.ts +++ b/packages/instant/src/util/analytics.ts @@ -95,7 +95,7 @@ const buyQuoteEventProperties = (buyQuote: BuyQuote) => { export interface AnalyticsUserOptions { lastKnownEthAddress?: string; - ethBalanceInUnitAmount?: string; + lastEthBalanceInUnitAmount?: string; } export interface AnalyticsEventOptions { embeddedHost?: string; |