Add no-floating-promises ignore comments
This commit is contained in:
@@ -65,6 +65,7 @@ export const RelayerGridTile: React.StatelessComponent<RelayerGridTileProps> = (
|
||||
const topTokens = props.relayerInfo.topTokens;
|
||||
const weeklyTxnVolume = props.relayerInfo.weeklyTxnVolume;
|
||||
const onClick = () => {
|
||||
// tslint:disable-next-line:no-floating-promises
|
||||
analytics.trackAsync('Relayer Click', {
|
||||
name: props.relayerInfo.name,
|
||||
});
|
||||
|
@@ -1,8 +1,4 @@
|
||||
import {
|
||||
colors,
|
||||
EtherscanLinkSuffixes,
|
||||
utils as sharedUtils,
|
||||
} from '@0xproject/react-shared';
|
||||
import { colors, EtherscanLinkSuffixes, utils as sharedUtils } from '@0xproject/react-shared';
|
||||
import * as _ from 'lodash';
|
||||
import * as React from 'react';
|
||||
|
||||
@@ -47,6 +43,7 @@ class TokenLink extends React.Component<TokenLinkProps, TokenLinkState> {
|
||||
public render(): React.ReactNode {
|
||||
const onClick = (event: React.MouseEvent<HTMLElement>) => {
|
||||
event.stopPropagation();
|
||||
// tslint:disable-next-line:no-floating-promises
|
||||
analytics.trackAsync('Token Click', {
|
||||
tokenSymbol: this.props.tokenInfo.symbol,
|
||||
});
|
||||
|
Reference in New Issue
Block a user