diff --git a/Cargo.lock b/Cargo.lock index 959fe53..6a38c81 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1207,7 +1207,7 @@ version = "0.1.0" [[package]] name = "exoplanets-catalog" -version = "0.2.6" +version = "0.3.1" dependencies = [ "anyhow", "axum", diff --git a/Cargo.toml b/Cargo.toml index 5d9a050..67f8231 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "exoplanets-catalog" -version = "0.3.0" +version = "0.3.1" edition = "2024" [workspace] diff --git a/src/components/navbar.rs b/src/components/navbar.rs index ad7bad3..889d5f7 100644 --- a/src/components/navbar.rs +++ b/src/components/navbar.rs @@ -7,7 +7,6 @@ use leptos_router::hooks::use_location; pub fn Navbar() -> impl IntoView { let location = use_location(); let pathname = move || location.pathname.get(); - let is_root = move || pathname() == "/"; let is_stellarhosts = move || pathname().starts_with("/stellarhosts"); let is_exoplanets = move || pathname().starts_with("/exoplanets"); let is_insights = move || pathname().starts_with("/insights"); @@ -39,27 +38,14 @@ pub fn Navbar() -> impl IntoView {