formatter

This commit is contained in:
Adam 2024-07-17 00:13:26 -04:00
parent 78b68eb026
commit b2930f965b
3 changed files with 5 additions and 10 deletions

View file

@ -5,11 +5,10 @@ use leptos::*;
pub fn Skeleton() -> impl IntoView {
view! {
<div class="flex animate-pulse">
<Container>
<div class="place-items-center mx-auto h-64">
// <code class="my-auto">"███████▒▒▒ 69%"</code>
</div>
</Container>
<Container>
// <code class="my-auto">"███████▒▒▒ 69%"</code>
<div class="place-items-center mx-auto h-64"></div>
</Container>
</div>
}
}

View file

@ -44,10 +44,7 @@ pub fn ErrorTemplate(
<hr class="opacity-50"/>
<ul>
{move || {
errors
.iter()
.map(|e: &_| view! { <li>{e.to_string()}</li> })
.collect_view()
errors.iter().map(|e: &_| view! { <li>{e.to_string()}</li> }).collect_view()
}}
</ul>

View file

@ -1 +0,0 @@
edition = "2021"