Skip to content

Commit 9a8e251

Browse files
authored
Clean up unused code generated from component scaffold (#649)
1 parent 2ff79e7 commit 9a8e251

File tree

5 files changed

+0
-15
lines changed

5 files changed

+0
-15
lines changed

mesop/components/audio/audio.ts

-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ export class AudioComponent {
1515
@Input({required: true}) type!: Type;
1616
@Input() key!: Key;
1717
private _config!: AudioType;
18-
isChecked = false;
19-
20-
constructor(private readonly channel: Channel) {}
2118

2219
ngOnChanges() {
2320
this._config = AudioType.deserializeBinary(

mesop/components/image/image.ts

-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ export class ImageComponent {
1818
@Input() key!: Key;
1919
@Input() style!: Style;
2020
private _config!: ImageType;
21-
isChecked = false;
22-
23-
constructor(private readonly channel: Channel) {}
2421

2522
ngOnChanges() {
2623
this._config = ImageType.deserializeBinary(

mesop/components/sidenav/sidenav.ts

-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ export class SidenavComponent {
2020
@Input() key!: Key;
2121
@Input() style!: Style;
2222
private _config!: SidenavType;
23-
isChecked = false;
24-
25-
constructor(private readonly channel: Channel) {}
2623

2724
ngOnChanges() {
2825
this._config = SidenavType.deserializeBinary(

mesop/components/video/video.ts

-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ export class VideoComponent {
1818
@Input() key!: Key;
1919
@Input() style!: Style;
2020
private _config!: VideoType;
21-
isChecked = false;
22-
23-
constructor(private readonly channel: Channel) {}
2421

2522
ngOnChanges() {
2623
this._config = VideoType.deserializeBinary(

scripts/component_template/component_name.ts

-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ export class ComponentNameComponent {
1616
@Input({required: true}) type!: Type;
1717
@Input() key!: Key;
1818
private _config!: ComponentNameType;
19-
isChecked = false;
20-
21-
constructor(private readonly channel: Channel) {}
2219

2320
ngOnChanges() {
2421
this._config = ComponentNameType.deserializeBinary(

0 commit comments

Comments
 (0)