Now a desktop build failure.
This commit is contained in:
parent
936ea3d853
commit
dd2f774767
1 changed files with 3 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
||||||
use dioxus::prelude::*;
|
use dioxus::{desktop::*, prelude::*};
|
||||||
|
|
||||||
use ui::Navbar;
|
use ui::Navbar;
|
||||||
use views::{Blog, Home};
|
use views::{Blog, Home};
|
||||||
|
@ -41,14 +41,8 @@ fn App() -> Element {
|
||||||
fn DesktopNavbar() -> Element {
|
fn DesktopNavbar() -> Element {
|
||||||
rsx! {
|
rsx! {
|
||||||
Navbar {
|
Navbar {
|
||||||
Link {
|
Link { to: Route::Home {}, "Home" }
|
||||||
to: Route::Home {},
|
Link { to: Route::Blog { id: 1 }, "Blog" }
|
||||||
"Home"
|
|
||||||
}
|
|
||||||
Link {
|
|
||||||
to: Route::Blog { id: 1 },
|
|
||||||
"Blog"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Outlet::<Route> {}
|
Outlet::<Route> {}
|
||||||
|
|
Loading…
Add table
Reference in a new issue