From dd2f7747673c8b569e4543c0935d429791c71d60 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Thu, 20 Mar 2025 11:06:37 -0500 Subject: [PATCH] Now a desktop build failure. --- desktop/src/main.rs | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) 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:: {}