mirror of
https://github.com/Nutomic/ibis.git
synced 2024-12-23 13:51:22 +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>
|
||||
<h2 class="font-serif text-xl font-bold">Articles</h2>
|
||||
<ul class="list-none">
|
||||
{move || {
|
||||
articles
|
||||
.get()
|
||||
.map(|a| {
|
||||
a.into_iter()
|
||||
.map(|a| {
|
||||
view! {
|
||||
<li>
|
||||
<a class="text-lg link" href=article_path(&a)>
|
||||
{article_title(&a)}
|
||||
</a>
|
||||
</li>
|
||||
}
|
||||
})
|
||||
.collect::<Vec<_>>()
|
||||
})
|
||||
}}
|
||||
|
||||
<Suspense>
|
||||
{move || {
|
||||
articles
|
||||
.get()
|
||||
.map(|a| {
|
||||
a.into_iter()
|
||||
.map(|a| {
|
||||
view! {
|
||||
<li>
|
||||
<a class="text-lg link" href=article_path(&a)>
|
||||
{article_title(&a)}
|
||||
</a>
|
||||
</li>
|
||||
}
|
||||
})
|
||||
.collect::<Vec<_>>()
|
||||
})
|
||||
}}
|
||||
</Suspense>
|
||||
</ul>
|
||||
</div>
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue