wip: clean it up a bit
This commit is contained in:
1 parent
b997b8ebbb
commit
fa106be1f5
6 files changed
+59
-34
No files matched your search
@@ -300,7 +300,7 @@ impl WebsysDom {
|
||||
// "Result" cannot be received from JS
|
||||
// Instead, we just build and immediately execute a closure that returns result
|
||||
match decode_trigger(event) {
|
||||
Ok(synthetic_event) => trigger.as_ref()(SchedulerMsg::UiEvent(synthetic_event)),
|
||||
Ok(synthetic_event) => trigger.as_ref()(SchedulerMsg::Event(synthetic_event)),
|
||||
Err(e) => log::error!("Error decoding Dioxus event attribute. {:#?}", e),
|
||||
};
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user