aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-12-05 08:33:49 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-12-05 08:33:49 +0800
commit04226106a293f5e716bb3e268e89c7b231da96aa (patch)
treea3c3be1b33f677b02ae7b82b8e8de57ad919ed7c /packages/instant/src
parent7a03df946dc86ad2b9cc86947cf61bc74dcfbf3c (diff)
downloaddexon-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
Diffstat (limited to 'packages/instant/src')
-rw-r--r--packages/instant/src/redux/analytics_middleware.ts2
-rw-r--r--packages/instant/src/util/analytics.ts2
2 files changed, 2 insertions, 2 deletions
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;