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:
parent
ead72c1ebc
commit
971e3ed80f
1 changed files with 19 additions and 18 deletions
|
@ -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>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue