diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-07-13 07:57:03 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-07-13 07:57:03 +0800 |
commit | 1df074b73e05adf669b0cedc4bb1473e9e5631db (patch) | |
tree | e32cb0adcfcc5df9b7d2b562cfa17cdd86003567 /packages/website/ts/components/portal/portal.tsx | |
parent | 0941e0a929f2fe3ef6d0cf1de5a1274f5f45f031 (diff) | |
download | dexon-0x-contracts-1df074b73e05adf669b0cedc4bb1473e9e5631db.tar dexon-0x-contracts-1df074b73e05adf669b0cedc4bb1473e9e5631db.tar.gz dexon-0x-contracts-1df074b73e05adf669b0cedc4bb1473e9e5631db.tar.bz2 dexon-0x-contracts-1df074b73e05adf669b0cedc4bb1473e9e5631db.tar.lz dexon-0x-contracts-1df074b73e05adf669b0cedc4bb1473e9e5631db.tar.xz dexon-0x-contracts-1df074b73e05adf669b0cedc4bb1473e9e5631db.tar.zst dexon-0x-contracts-1df074b73e05adf669b0cedc4bb1473e9e5631db.zip |
Make Analytics API non-async
Diffstat (limited to 'packages/website/ts/components/portal/portal.tsx')
-rw-r--r-- | packages/website/ts/components/portal/portal.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/website/ts/components/portal/portal.tsx b/packages/website/ts/components/portal/portal.tsx index fbaa419d8..ea821d038 100644 --- a/packages/website/ts/components/portal/portal.tsx +++ b/packages/website/ts/components/portal/portal.tsx @@ -389,8 +389,7 @@ export class Portal extends React.Component<PortalProps, PortalState> { ); } private _startOnboarding(): void { - // tslint:disable-next-line:no-floating-promises - analytics.trackAsync('Onboarding Started', { + analytics.track('Onboarding Started', { reason: 'manual', stepIndex: this.props.portalOnboardingStep, }); |