1
0
Fork 0
mirror of https://github.com/Nutomic/ibis.git synced 2025-01-11 14:05:48 +00:00

Fix another hydration error

This commit is contained in:
Felix Ableitner 2024-12-10 10:35:30 +01:00
parent ead72c1ebc
commit 971e3ed80f

View file

@ -54,24 +54,25 @@ pub fn InstanceDetails() -> impl IntoView {
<div>{instance.description}</div> <div>{instance.description}</div>
<h2 class="font-serif text-xl font-bold">Articles</h2> <h2 class="font-serif text-xl font-bold">Articles</h2>
<ul class="list-none"> <ul class="list-none">
{move || { <Suspense>
articles {move || {
.get() articles
.map(|a| { .get()
a.into_iter() .map(|a| {
.map(|a| { a.into_iter()
view! { .map(|a| {
<li> view! {
<a class="text-lg link" href=article_path(&a)> <li>
{article_title(&a)} <a class="text-lg link" href=article_path(&a)>
</a> {article_title(&a)}
</li> </a>
} </li>
}) }
.collect::<Vec<_>>() })
}) .collect::<Vec<_>>()
}} })
}}
</Suspense>
</ul> </ul>
</div> </div>
} }