aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAugust Skare <post@augustskare.no>2018-11-19 15:56:59 +0800
committerAugust Skare <post@augustskare.no>2018-11-19 15:56:59 +0800
commit284252e7a49da4816c1fe4a9b4e58694b5a23c10 (patch)
tree6976400252e080649610fa5c096d602c0ec235e2
parent3ad857be6c845e3ed09eccff951efdf604e4ca64 (diff)
downloaddexon-0x-contracts-284252e7a49da4816c1fe4a9b4e58694b5a23c10.tar.gz
dexon-0x-contracts-284252e7a49da4816c1fe4a9b4e58694b5a23c10.tar.zst
dexon-0x-contracts-284252e7a49da4816c1fe4a9b4e58694b5a23c10.zip
less verbose tslint disable rule
-rw-r--r--packages/dev-tools-pages/ts/components/Code.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/dev-tools-pages/ts/components/Code.tsx b/packages/dev-tools-pages/ts/components/Code.tsx
index da2bb83e6..3bf5506d6 100644
--- a/packages/dev-tools-pages/ts/components/Code.tsx
+++ b/packages/dev-tools-pages/ts/components/Code.tsx
@@ -144,9 +144,8 @@ class Code extends React.Component<CodeProps, CodeState> {
/*
* _onMountAsync is only setting state, so no point in handling the promise
*/
- /* tslint:disable:no-floating-promises */
+ // tslint:disable-next-line:no-floating-promises
this._onMountAsync();
- /* tslint:enable:no-floating-promises */
}
public render(): React.ReactNode {