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

@ -6,9 +6,8 @@ pub fn Skeleton() -> impl IntoView {
view! { view! {
<div class="flex animate-pulse"> <div class="flex animate-pulse">
<Container> <Container>
<div class="place-items-center mx-auto h-64">
// <code class="my-auto">"███████▒▒▒ 69%"</code> // <code class="my-auto">"███████▒▒▒ 69%"</code>
</div> <div class="place-items-center mx-auto h-64"></div>
</Container> </Container>
</div> </div>
} }

View file

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

View file

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