From e4bc83e8af0f56c5aeadc70b7032011453ffca8a Mon Sep 17 00:00:00 2001 From: Salma Alam-Naylor Date: Sun, 5 Jul 2020 21:25:11 +0100 Subject: [PATCH] Remove constructor from scale-degrees --- .../fretonator/scale-degrees/scale-degrees.component.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/apps/fretonator-web/src/app/common/fretonator/scale-degrees/scale-degrees.component.ts b/apps/fretonator-web/src/app/common/fretonator/scale-degrees/scale-degrees.component.ts index 4154ca4..131f401 100644 --- a/apps/fretonator-web/src/app/common/fretonator/scale-degrees/scale-degrees.component.ts +++ b/apps/fretonator-web/src/app/common/fretonator/scale-degrees/scale-degrees.component.ts @@ -1,11 +1,11 @@ -import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core'; +import { Component, EventEmitter, Input, Output } from '@angular/core'; @Component({ selector: 'app-scale-degrees', templateUrl: './scale-degrees.component.html', styleUrls: ['./scale-degrees.component.scss'] }) -export class ScaleDegreesComponent implements OnInit { +export class ScaleDegreesComponent { @Output() setTonicHighlight = new EventEmitter(); @Output() setMediantHighlight = new EventEmitter(); @Output() setDominantHighlight = new EventEmitter(); @@ -13,11 +13,6 @@ export class ScaleDegreesComponent implements OnInit { @Input() mediantActive; @Input() dominantActive; - constructor() { } - - ngOnInit(): void { - } - clickTonic() { this.setTonicHighlight.emit(); }