= 2 лет назад
Родитель
Сommit
894e3bf6b5
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 1
      packages/desktop/src/controller.rs
  2. 1 0
      packages/rsx/Cargo.toml

+ 1 - 1
packages/desktop/src/controller.rs

@@ -26,7 +26,7 @@ pub(super) struct DesktopController {
     pub(super) quit_app_on_close: bool,
     pub(super) is_ready: Arc<AtomicBool>,
     pub(super) proxy: EventLoopProxy<UserWindowEvent>,
-    pub(super) event_tx: UnboundedSender<Html>,
+    pub(super) event_tx: UnboundedSender<HtmlEvent>,
     #[cfg(debug_assertions)]
     pub(super) templates_tx: UnboundedSender<Template<'static>>,
 

+ 1 - 0
packages/rsx/Cargo.toml

@@ -13,6 +13,7 @@ keywords = ["dom", "ui", "gui", "react", "wasm"]
 
 [dependencies]
 proc-macro2 = { version = "1.0", features = ["span-locations"] }
+dioxus-core = { path = "../core" }
 syn = { version = "1.0", features = ["full", "extra-traits"] }
 quote = { version = "1.0" }
 serde = { version = "1.0", features = ["derive"] }