forked from Zynh0722/nyazoom
leptos CollectView
parent
139ec47e5d
commit
c9aac19f8b
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue