fix multiple types of desktop/liveview listeners in the same app
This commit is contained in:
1 parent
9abc390d04
commit
9de56c00f3
2 files changed
+6
-2
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user