{"Tipo de Proyecto"}
@@ -264,8 +297,3 @@ pub fn search_page(props: &SearchPageProperties) -> Html {
>
}
}
-
-#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Properties)]
-pub struct SearchPageProperties {
- pub project_state: ProjectState,
-}
diff --git a/src/routes/main_router.rs b/src/routes/main_router.rs
index 8c4d032..0dcff53 100644
--- a/src/routes/main_router.rs
+++ b/src/routes/main_router.rs
@@ -1,4 +1,3 @@
-use jl_types::domain::project_state::ProjectState;
use yew_router::prelude::*;
use yew::prelude::*;
@@ -10,8 +9,8 @@ use crate::{pages::{landing::LandingPage, search::{SearchPage}, details::Details
pub enum Route {
#[at("/")]
LandingPage,
- #[at("/search/:project_state")]
- Search { project_state: ProjectState },
+ #[at("/search")]
+ Search,
#[at("/details/:project_id")]
Details { project_id: Uuid },
#[at("/contact")]
@@ -25,7 +24,7 @@ pub enum Route {
pub fn switch(routes: Route) -> Html {
match routes {
Route::LandingPage => html! { },
- Route::Search { project_state } => html! { },
+ Route::Search => html! { },
Route::Details { project_id } => html! { },
Route::NotFound => html! { },
Route::Contact => html! { }