ethBalanceInUnitAmount -> lastEthBalanceInUnitAmount

This commit is contained in:
Steve Klebanoff
2018-12-04 16:33:49 -08:00
parent 7a03df946d
commit 04226106a2
3 changed files with 2 additions and 2 deletions

BIN
packages/instant/.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -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;

View File

@@ -95,7 +95,7 @@ const buyQuoteEventProperties = (buyQuote: BuyQuote) => {
export interface AnalyticsUserOptions {
lastKnownEthAddress?: string;
ethBalanceInUnitAmount?: string;
lastEthBalanceInUnitAmount?: string;
}
export interface AnalyticsEventOptions {
embeddedHost?: string;