From cd5242bfc4db0242281db66c5d75053fef6f9697 Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Fri, 7 Jan 2022 12:14:38 -0500 Subject: [PATCH] example: remove unncessary cfg --- examples/hello_world.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/hello_world.rs b/examples/hello_world.rs index 5b732f140..0e9ed5f61 100644 --- a/examples/hello_world.rs +++ b/examples/hello_world.rs @@ -2,7 +2,7 @@ use dioxus::prelude::*; use dioxus_desktop::tao::menu::MenuBar; fn main() { - dioxus::desktop::launch_cfg(app, |c| c.with_window(|w| w.with_menu(MenuBar::default()))); + dioxus::desktop::launch(app); } fn app(cx: Scope) -> Element {