aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/inputs
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/inputs
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/inputs')
-rw-r--r--packages/website/ts/components/inputs/allowance_toggle.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/website/ts/components/inputs/allowance_toggle.tsx b/packages/website/ts/components/inputs/allowance_toggle.tsx
index 8e9d4fe8d..6f4ffa320 100644
--- a/packages/website/ts/components/inputs/allowance_toggle.tsx
+++ b/packages/website/ts/components/inputs/allowance_toggle.tsx
@@ -117,9 +117,11 @@ export class AllowanceToggle extends React.Component<AllowanceToggleProps, Allow
};
try {
await this.props.blockchain.setProxyAllowanceAsync(this.props.token, newAllowanceAmountInBaseUnits);
+ // tslint:disable-next-line:no-floating-promises
analytics.trackAsync('Set Allowances Success', logData);
await this.props.refetchTokenStateAsync();
} catch (err) {
+ // tslint:disable-next-line:no-floating-promises
analytics.trackAsync('Set Allowance Failure', logData);
this.setState({
isSpinnerVisible: false,