fix clippy

This commit is contained in:
Evan Almloff 2023-07-20 13:51:26 -07:00
parent 67a2d31f9c
commit 14867931a4

View file

@ -75,10 +75,8 @@ impl WebsysDom {
if !prevent_event {
event.prevent_default();
}
} else {
if prevent_event {
event.prevent_default();
}
} else if prevent_event {
event.prevent_default();
}
let data = virtual_event_from_websys_event(event.clone(), target);