diff --git a/desktop/src/main.rs b/desktop/src/main.rs index 68da20d..a0706f2 100644 --- a/desktop/src/main.rs +++ b/desktop/src/main.rs @@ -1,4 +1,4 @@ -use dioxus::prelude::*; +use dioxus::{desktop::*, prelude::*}; use ui::Navbar; use views::{Blog, Home}; @@ -41,14 +41,8 @@ fn App() -> Element { fn DesktopNavbar() -> Element { rsx! { Navbar { - Link { - to: Route::Home {}, - "Home" - } - Link { - to: Route::Blog { id: 1 }, - "Blog" - } + Link { to: Route::Home {}, "Home" } + Link { to: Route::Blog { id: 1 }, "Blog" } } Outlet:: {}