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/forms | |
parent | 1ee78062d7731b35e47c0d4c4e30a68628f364a9 (diff) | |
download | dexon-0x-contracts-0941e0a929f2fe3ef6d0cf1de5a1274f5f45f031.tar dexon-0x-contracts-0941e0a929f2fe3ef6d0cf1de5a1274f5f45f031.tar.gz dexon-0x-contracts-0941e0a929f2fe3ef6d0cf1de5a1274f5f45f031.tar.bz2 dexon-0x-contracts-0941e0a929f2fe3ef6d0cf1de5a1274f5f45f031.tar.lz dexon-0x-contracts-0941e0a929f2fe3ef6d0cf1de5a1274f5f45f031.tar.xz dexon-0x-contracts-0941e0a929f2fe3ef6d0cf1de5a1274f5f45f031.tar.zst dexon-0x-contracts-0941e0a929f2fe3ef6d0cf1de5a1274f5f45f031.zip |
Add no-floating-promises ignore comments
Diffstat (limited to 'packages/website/ts/components/forms')
-rw-r--r-- | packages/website/ts/components/forms/subscribe_form.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/website/ts/components/forms/subscribe_form.tsx b/packages/website/ts/components/forms/subscribe_form.tsx index 19abbdf5f..be0468b6f 100644 --- a/packages/website/ts/components/forms/subscribe_form.tsx +++ b/packages/website/ts/components/forms/subscribe_form.tsx @@ -114,6 +114,7 @@ export class SubscribeForm extends React.Component<SubscribeFormProps, Subscribe const response = await backendClient.subscribeToNewsletterAsync(this.state.emailText); const status = response.status === 200 ? SubscribeFormStatus.Success : SubscribeFormStatus.Error; if (status === SubscribeFormStatus.Success) { + // tslint:disable-next-line:no-floating-promises analytics.indentifyAsync(this.state.emailText, 'email'); } this.setState({ status, emailText: '' }); |