From a774c879d4cf08a76fc404771883807d27465265 Mon Sep 17 00:00:00 2001 From: MCMXC <16797721+mcmxcdev@users.noreply.github.com> Date: Thu, 7 Dec 2023 22:37:37 -0700 Subject: refactor: code cleanup (#1476) - auto update `settings.json` due to new vscode version - replace deprecated `e.keyCode` with `e.key` - fix various code snippets with sonarlint and other lint plugins --- src/components/services/content/ServiceView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/services') diff --git a/src/components/services/content/ServiceView.tsx b/src/components/services/content/ServiceView.tsx index 37dcafbe4..d89cd0610 100644 --- a/src/components/services/content/ServiceView.tsx +++ b/src/components/services/content/ServiceView.tsx @@ -64,7 +64,7 @@ class ServiceView extends Component { componentWillUnmount() { this.autorunDisposer!(); - clearTimeout(this.forceRepaintTimeout!); + clearTimeout(this.forceRepaintTimeout); // clearTimeout(this.hibernationTimer); // TODO: [TS DEBT] class property not reassigned, need to find its purpose } -- cgit v1.2.3-54-g00ecf