소스 검색

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,
     ) {
     }