Skip to content

Commit e4bc83e

Browse files
Remove constructor from scale-degrees
1 parent 7a39d15 commit e4bc83e

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

apps/fretonator-web/src/app/common/fretonator/scale-degrees/scale-degrees.component.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,18 @@
1-
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
1+
import { Component, EventEmitter, Input, Output } from '@angular/core';
22

33
@Component({
44
selector: 'app-scale-degrees',
55
templateUrl: './scale-degrees.component.html',
66
styleUrls: ['./scale-degrees.component.scss']
77
})
8-
export class ScaleDegreesComponent implements OnInit {
8+
export class ScaleDegreesComponent {
99
@Output() setTonicHighlight = new EventEmitter<boolean>();
1010
@Output() setMediantHighlight = new EventEmitter<boolean>();
1111
@Output() setDominantHighlight = new EventEmitter<boolean>();
1212
@Input() tonicActive;
1313
@Input() mediantActive;
1414
@Input() dominantActive;
1515

16-
constructor() { }
17-
18-
ngOnInit(): void {
19-
}
20-
2116
clickTonic() {
2217
this.setTonicHighlight.emit();
2318
}

0 commit comments

Comments
 (0)