formatter
This commit is contained in:
parent
78b68eb026
commit
b2930f965b
3 changed files with 5 additions and 10 deletions
|
@ -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>
|
||||||
}
|
}
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
edition = "2021"
|
|
Loading…
Add table
Reference in a new issue