Browse Source

Fix platform-less check in launch

Jonathan Kelley 1 năm trước cách đây
mục cha
commit
87572d694f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/dioxus/src/launch.rs

+ 1 - 1
packages/dioxus/src/launch.rs

@@ -140,7 +140,7 @@ mod current_platform {
     #[cfg(not(any(feature = "desktop", feature = "web", feature = "fullstack")))]
     pub fn launch(
         root: fn() -> dioxus_core::Element,
-        contexts: super::ContextList,
+        contexts: Vec<Box<super::ValidContext>>,
         platform_config: Config,
     ) {
     }