example: remove unncessary cfg
This commit is contained in:
1 parent
d11f322f55
commit
cd5242bfc4
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user