From 99ca310c73024b51fed1f3077375eed7827f2c20 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sun, 28 May 2023 13:48:21 +0530 Subject: Fix issues reported by sonarqube linter --- src/components/services/content/ServiceView.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/components/services/content/ServiceView.tsx') diff --git a/src/components/services/content/ServiceView.tsx b/src/components/services/content/ServiceView.tsx index 0754bccc5..19dcdd07a 100644 --- a/src/components/services/content/ServiceView.tsx +++ b/src/components/services/content/ServiceView.tsx @@ -21,7 +21,7 @@ interface IProps { reload: () => void; edit: () => void; enable: () => void; - // isActive?: boolean; // TODO - [TECH DEBT][PROP NOT USED IN COMPONENT] check it + // isActive?: boolean; // TODO: [TECH DEBT][PROP NOT USED IN COMPONENT] check it stores?: RealStores; isSpellcheckerEnabled: boolean; } @@ -35,7 +35,7 @@ interface IState { @inject('stores', 'actions') @observer class ServiceView extends Component { - // hibernationTimer = null; // TODO - [TS DEBT] class property not reassigned, need to find its purpose + // hibernationTimer = null; // TODO: [TS DEBT] class property not reassigned, need to find its purpose autorunDisposer: IReactionDisposer | undefined; @@ -65,7 +65,7 @@ class ServiceView extends Component { componentWillUnmount() { this.autorunDisposer!(); clearTimeout(this.forceRepaintTimeout!); - // clearTimeout(this.hibernationTimer); // TODO - [TS DEBT] class property not reassigned, need to find its purpose + // clearTimeout(this.hibernationTimer); // TODO: [TS DEBT] class property not reassigned, need to find its purpose } render() { @@ -111,7 +111,7 @@ class ServiceView extends Component { {service.hasCrashed && ( )} @@ -177,7 +177,7 @@ class ServiceView extends Component { {service.isActive && ( )} -- cgit v1.2.3-70-g09d2