From af5ae835044ea4dfeb31a9caa319db980fe21015 Mon Sep 17 00:00:00 2001 From: Matthew Griffin Date: Fri, 9 Aug 2024 16:00:03 +0100 Subject: [PATCH] Tidy up unnecessary element refs --- .../tech-carbon-estimator/tech-carbon-estimator.component.html | 2 +- .../tech-carbon-estimator/tech-carbon-estimator.component.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app/tech-carbon-estimator/tech-carbon-estimator.component.html b/src/app/tech-carbon-estimator/tech-carbon-estimator.component.html index 7ce20ea..c2db968 100644 --- a/src/app/tech-carbon-estimator/tech-carbon-estimator.component.html +++ b/src/app/tech-carbon-estimator/tech-carbon-estimator.component.html @@ -11,7 +11,7 @@

Technology Carbon Estimator

(formReset)="handleFormReset()"> - + diff --git a/src/app/tech-carbon-estimator/tech-carbon-estimator.component.ts b/src/app/tech-carbon-estimator/tech-carbon-estimator.component.ts index dff17b1..d38ed56 100644 --- a/src/app/tech-carbon-estimator/tech-carbon-estimator.component.ts +++ b/src/app/tech-carbon-estimator/tech-carbon-estimator.component.ts @@ -31,9 +31,7 @@ export class TechCarbonEstimatorComponent { public formValue: EstimatorValues | undefined; public carbonEstimation: CarbonEstimation | null = null; - @ViewChild('assumptionsLimitation', { read: ElementRef }) assumptionsLimitation!: ElementRef; @ViewChild('estimations') estimations!: ElementRef; - @ViewChild('showAssumptionsLimitationButton') showAssumptionsLimitationButton!: ElementRef; constructor( private estimationService: CarbonEstimationService,