diff --git a/src/router/records.rs b/src/router/records.rs index 4d5e559..4ca4f6a 100644 --- a/src/router/records.rs +++ b/src/router/records.rs @@ -4,6 +4,7 @@ use axum::{ routing::get, Json, Router, }; +use leptos::CollectView; use crate::{util::ssr, AppState, HtmxPage}; @@ -45,7 +46,7 @@ pub async fn records_links(State(state): State) -> impl IntoResponse { } }) - .collect::>()} + .collect_view()}