update the web renderer to the new dioxus core

This commit is contained in:
Evan Almloff committed 2024-01-06 16:44:07 -06:00
1 parent f4af297777
commit 88e2da6c11
10 files changed
+274 -204

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ macro_rules! impl_event {
::dioxus_core::Attribute::new(
stringify!($name),
::dioxus_core::AttributeValue::listener(move |e: ::dioxus_core::Event<crate::PlatformEventData>| {
_f(e.map(|e|e.into())).spawn(_cx);
_f(e.map(|e|e.into())).spawn();
}),
None,
false,