瀏覽代碼

Fix platform-less check in launch

Jonathan Kelley 1 年之前
父節點
當前提交
87572d694f
共有 1 個文件被更改,包括 1 次插入1 次删除
  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,
     ) {
     }