Skip to content

Commit 771702e

Browse files
committed
chore: remove unnecessary code
1 parent e46fc6d commit 771702e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

switch/internal/switch.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,6 @@ export class Switch extends switchBaseClass {
198198
}
199199

200200
private handleChange(event: Event) {
201-
const target = event.target as HTMLInputElement;
202-
this.selected = target.checked;
203201
// <input> 'change' event is not composed, re-dispatch it.
204202
redispatchEvent(this, event);
205203
}

0 commit comments

Comments
 (0)