leptos CollectView
This commit is contained in:
parent
139ec47e5d
commit
c9aac19f8b
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@ use axum::{
|
||||||
routing::get,
|
routing::get,
|
||||||
Json, Router,
|
Json, Router,
|
||||||
};
|
};
|
||||||
|
use leptos::CollectView;
|
||||||
|
|
||||||
use crate::{util::ssr, AppState, HtmxPage};
|
use crate::{util::ssr, AppState, HtmxPage};
|
||||||
|
|
||||||
|
@ -45,7 +46,7 @@ pub async fn records_links(State(state): State<AppState>) -> impl IntoResponse {
|
||||||
</li>
|
</li>
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.collect::<Vec<_>>()}
|
.collect_view()}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue