aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-30 00:19:39 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-30 00:19:39 +0800
commit5c66f9117fa0bf6a5be29243dbecbfe016b95345 (patch)
tree4d8cf02dcaa36e4f01fa4007a1403b593e39b654 /packages
parent6222c952c3273ba91f20b5616793c534bb6dca28 (diff)
downloaddexon-sol-tools-5c66f9117fa0bf6a5be29243dbecbfe016b95345.tar
dexon-sol-tools-5c66f9117fa0bf6a5be29243dbecbfe016b95345.tar.gz
dexon-sol-tools-5c66f9117fa0bf6a5be29243dbecbfe016b95345.tar.bz2
dexon-sol-tools-5c66f9117fa0bf6a5be29243dbecbfe016b95345.tar.lz
dexon-sol-tools-5c66f9117fa0bf6a5be29243dbecbfe016b95345.tar.xz
dexon-sol-tools-5c66f9117fa0bf6a5be29243dbecbfe016b95345.tar.zst
dexon-sol-tools-5c66f9117fa0bf6a5be29243dbecbfe016b95345.zip
assetAmount -> assetBuyAmount
Diffstat (limited to 'packages')
-rw-r--r--packages/instant/src/util/analytics.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/src/util/analytics.ts b/packages/instant/src/util/analytics.ts
index 1468ef4a8..4b8aff4c9 100644
--- a/packages/instant/src/util/analytics.ts
+++ b/packages/instant/src/util/analytics.ts
@@ -206,10 +206,10 @@ export const analytics = {
...buyQuoteEventProperties(buyQuote),
fetchOrigin,
}),
- trackQuoteError: (errorMessage: string, assetAmount: BigNumber, fetchOrigin: QuoteFetchOrigin) => {
+ trackQuoteError: (errorMessage: string, assetBuyAmount: BigNumber, fetchOrigin: QuoteFetchOrigin) => {
trackingEventFnWithPayload(EventNames.QUOTE_ERROR)({
errorMessage,
- assetAmount: assetAmount.toString(),
+ assetBuyAmount: assetBuyAmount.toString(),
fetchOrigin,
});
},