fix clippy

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

View file

@ -75,11 +75,9 @@ impl WebsysDom {
if !prevent_event {
event.prevent_default();
}
} else {
if prevent_event {
} else if prevent_event {
event.prevent_default();
}
}
let data = virtual_event_from_websys_event(event.clone(), target);
let _ = event_channel.unbounded_send(UiEvent {