This commit is contained in:
He4eT 2023-05-21 16:46:30 +03:00 committed by Alexey
commit 7a96d99055
21 changed files with 174 additions and 170 deletions

View file

@ -1,12 +1,12 @@
import { h } from 'preact'
import { Link } from 'wouter-preact'
const fail = details => (
const fail = (details) => (
<div className='status fail'>
<h1>
Error
</h1>
{details.map(x => (<p key={x}>{x}</p>))}
{details.map((x) => (<p key={x}>{x}</p>))}
<hr />
<Link href='/'>
Home
@ -21,9 +21,9 @@ const fail = details => (
</div>
)
const loading = details => (
const loading = (details) => (
<div className='status loading'>
{details.map(x => (<div key={x}>{x}</div>))}
{details.map((x) => (<div key={x}>{x}</div>))}
</div>
)