From c9aac19f8b27b766c1ff63249743eb27588bd1a3 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Fri, 30 Aug 2024 21:31:35 -0700 Subject: [PATCH] leptos CollectView --- src/router/records.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()}