mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 12:43:08 +00:00
fix clippy
This commit is contained in:
parent
67a2d31f9c
commit
14867931a4
1 changed files with 2 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue