diff --git a/packages/dioxus/src/launch.rs b/packages/dioxus/src/launch.rs index 4deb2287e..5a5fd11b7 100644 --- a/packages/dioxus/src/launch.rs +++ b/packages/dioxus/src/launch.rs @@ -139,7 +139,7 @@ impl LaunchBuilder { /// #[derive(Default)] /// struct Config; /// - /// fn my_custom_launcher(root: fn() -> Element, contexts: Vec>, cfg: Config) { + /// fn my_custom_launcher(root: fn() -> Element, contexts: Vec Box + Send + Sync>>, cfg: Vec>) { /// println!("launching with root: {:?}", root()); /// loop { /// println!("running..."); diff --git a/packages/fullstack/README.md b/packages/fullstack/README.md index d094ea4e2..1bf84e6ac 100644 --- a/packages/fullstack/README.md +++ b/packages/fullstack/README.md @@ -107,7 +107,7 @@ fn main() { // For any other platform, we just launch the app #[cfg(not(feature = "server"))] fn main() { - launch(App); + dioxus::launch(App); } #[component]