aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-tools-pages/ts/components/Code.tsx
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 /packages/dev-tools-pages/ts/components/Code.tsx
parent3ad857be6c845e3ed09eccff951efdf604e4ca64 (diff)
downloaddexon-sol-tools-284252e7a49da4816c1fe4a9b4e58694b5a23c10.tar
dexon-sol-tools-284252e7a49da4816c1fe4a9b4e58694b5a23c10.tar.gz
dexon-sol-tools-284252e7a49da4816c1fe4a9b4e58694b5a23c10.tar.bz2
dexon-sol-tools-284252e7a49da4816c1fe4a9b4e58694b5a23c10.tar.lz
dexon-sol-tools-284252e7a49da4816c1fe4a9b4e58694b5a23c10.tar.xz
dexon-sol-tools-284252e7a49da4816c1fe4a9b4e58694b5a23c10.tar.zst
dexon-sol-tools-284252e7a49da4816c1fe4a9b4e58694b5a23c10.zip
less verbose tslint disable rule
Diffstat (limited to 'packages/dev-tools-pages/ts/components/Code.tsx')
-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 {