fix multiple types of desktop/liveview listeners in the same app

This commit is contained in:
Evan Almloff committed 2023-10-24 13:09:10 -05:00
1 parent 9abc390d04
commit 9de56c00f3
2 files changed
+6 -2

No files matched your search

+4 -1
View File
@@ -276,7 +276,10 @@ pub fn launch_with_props<P: 'static>(root: Component<P>, props: P, cfg: Config)
let evt = match serde_json::from_value::<HtmlEvent>(params) {
Ok(value) => value,
Err(_) => return,
Err(err) => {
tracing::error!("Error parsing user_event: {:?}", err);
return;
}
};
let HtmlEvent {