aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/generate_order
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-07-12 07:50:00 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-07-12 07:50:00 +0800
commit0941e0a929f2fe3ef6d0cf1de5a1274f5f45f031 (patch)
tree631a88686b5f2fa2f436daac18643c2a055e9311 /packages/website/ts/components/generate_order
parent1ee78062d7731b35e47c0d4c4e30a68628f364a9 (diff)
downloaddexon-sol-tools-0941e0a929f2fe3ef6d0cf1de5a1274f5f45f031.tar.gz
dexon-sol-tools-0941e0a929f2fe3ef6d0cf1de5a1274f5f45f031.tar.zst
dexon-sol-tools-0941e0a929f2fe3ef6d0cf1de5a1274f5f45f031.zip
Add no-floating-promises ignore comments
Diffstat (limited to 'packages/website/ts/components/generate_order')
-rw-r--r--packages/website/ts/components/generate_order/generate_order_form.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/website/ts/components/generate_order/generate_order_form.tsx b/packages/website/ts/components/generate_order/generate_order_form.tsx
index 691abd4aa..524960aa7 100644
--- a/packages/website/ts/components/generate_order/generate_order_form.tsx
+++ b/packages/website/ts/components/generate_order/generate_order_form.tsx
@@ -268,6 +268,7 @@ export class GenerateOrderForm extends React.Component<GenerateOrderFormProps, G
const signedOrder = await this._signTransactionAsync();
const doesSignedOrderExist = !_.isUndefined(signedOrder);
if (doesSignedOrderExist) {
+ // tslint:disable-next-line:no-floating-promises
analytics.trackOrderEventAsync('Sign Order Success', signedOrder);
this.setState({
globalErrMsg: '',
@@ -281,6 +282,7 @@ export class GenerateOrderForm extends React.Component<GenerateOrderFormProps, G
globalErrMsg = 'You must enable wallet communication';
this.props.dispatcher.updateShouldBlockchainErrDialogBeOpen(true);
}
+ // tslint:disable-next-line:no-floating-promises
analytics.trackAsync('Sign Order Failure', {
makerTokenAmount: debitToken.amount.toString(),
makerToken: this.props.tokenByAddress[debitToken.address].symbol,