aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/fill_order.tsx
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-07-13 07:57:03 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-07-13 07:57:03 +0800
commit1df074b73e05adf669b0cedc4bb1473e9e5631db (patch)
treee32cb0adcfcc5df9b7d2b562cfa17cdd86003567 /packages/website/ts/components/fill_order.tsx
parent0941e0a929f2fe3ef6d0cf1de5a1274f5f45f031 (diff)
downloaddexon-0x-contracts-1df074b73e05adf669b0cedc4bb1473e9e5631db.tar.gz
dexon-0x-contracts-1df074b73e05adf669b0cedc4bb1473e9e5631db.tar.zst
dexon-0x-contracts-1df074b73e05adf669b0cedc4bb1473e9e5631db.zip
Make Analytics API non-async
Diffstat (limited to 'packages/website/ts/components/fill_order.tsx')
-rw-r--r--packages/website/ts/components/fill_order.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/website/ts/components/fill_order.tsx b/packages/website/ts/components/fill_order.tsx
index e4838bc0f..ff63410c3 100644
--- a/packages/website/ts/components/fill_order.tsx
+++ b/packages/website/ts/components/fill_order.tsx
@@ -508,8 +508,7 @@ export class FillOrder extends React.Component<FillOrderProps, FillOrderState> {
}
private _trackOrderEvent(eventName: string): void {
const parsedOrder = this.state.parsedOrder;
- // tslint:disable-next-line:no-floating-promises
- analytics.trackOrderEventAsync(eventName, parsedOrder);
+ analytics.trackOrderEvent(eventName, parsedOrder);
}
private async _onFillOrderClickFireAndForgetAsync(): Promise<void> {
if (this.props.blockchainErr !== BlockchainErrs.NoError || _.isEmpty(this.props.userAddress)) {