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