aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-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 {