Skip to content

Commit 74a6551

Browse files
authored
test: removed unused methods from button component (#27273)
* docs: removed unused methods from button component * update
1 parent 2fbb81d commit 74a6551

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
import {Component, OnInit} from '@angular/core';
1+
import {Component} from '@angular/core';
22

33
@Component({
44
selector: 'button-example',
55
templateUrl: './button.component.html',
66
styleUrls: ['./button.component.scss'],
77
})
8-
export class ButtonComponent implements OnInit {
9-
constructor() {}
10-
11-
ngOnInit(): void {}
12-
}
8+
export class ButtonComponent {}
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
import {Component, OnInit} from '@angular/core';
1+
import {Component} from '@angular/core';
22

33
@Component({
44
selector: 'button-example',
55
templateUrl: './button.component.html',
66
styleUrls: ['./button.component.scss'],
77
})
8-
export class ButtonComponent implements OnInit {
9-
constructor() {}
10-
11-
ngOnInit(): void {}
12-
}
8+
export class ButtonComponent {}

0 commit comments

Comments
 (0)