1
0
Fork 0

leptos CollectView

Zynh Ludwig 2024-08-30 21:31:35 -07:00
parent 139ec47e5d
commit c9aac19f8b
1 changed files with 2 additions and 1 deletions

View File

@ -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<AppState>) -> impl IntoResponse {
</li>
}
})
.collect::<Vec<_>>()}
.collect_view()}
</ul>
</div>
</div>