diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-07-12 07:50:00 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-07-12 07:50:00 +0800 |
commit | 0941e0a929f2fe3ef6d0cf1de5a1274f5f45f031 (patch) | |
tree | 631a88686b5f2fa2f436daac18643c2a055e9311 /packages/website/ts/components/onboarding | |
parent | 1ee78062d7731b35e47c0d4c4e30a68628f364a9 (diff) | |
download | dexon-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/onboarding')
-rw-r--r-- | packages/website/ts/components/onboarding/portal_onboarding_flow.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx b/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx index 516fdac3c..e051d86d9 100644 --- a/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx +++ b/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx @@ -224,6 +224,7 @@ class PlainPortalOnboardingFlow extends React.Component<PortalOnboardingFlowProp (this.props.stepIndex === 0 && !this.props.isRunning && this.props.blockchainIsLoaded) || (!this.props.isRunning && !this.props.hasBeenClosed && this.props.blockchainIsLoaded) ) { + // tslint:disable-next-line:no-floating-promises analytics.trackAsync('Onboarding Started', { reason: 'automatic', stepIndex: this.props.stepIndex, @@ -236,6 +237,7 @@ class PlainPortalOnboardingFlow extends React.Component<PortalOnboardingFlowProp } private _closeOnboarding(): void { this.props.updateIsRunning(false); + // tslint:disable-next-line:no-floating-promises analytics.trackAsync('OnboardingClosed', { stepIndex: this.props.stepIndex, }); |