mirror of
https://github.com/seigler/presentation-react-state-management
synced 2025-07-27 09:46:08 +00:00
kitten error messages
This commit is contained in:
parent
3c12c945c7
commit
6ff5051f79
1 changed files with 12 additions and 0 deletions
|
@ -12,6 +12,18 @@ export function ErrorPage() {
|
||||||
<p>
|
<p>
|
||||||
<i>{error.statusText || error.message}</i>
|
<i>{error.statusText || error.message}</i>
|
||||||
</p>
|
</p>
|
||||||
|
<p>
|
||||||
|
<figure>
|
||||||
|
<img
|
||||||
|
src={`http://placekitten.com/${
|
||||||
|
500 + Math.round(Math.random() * 300)
|
||||||
|
}`}
|
||||||
|
style={{ width: '100%' }}
|
||||||
|
alt="kitten"
|
||||||
|
/>
|
||||||
|
<figcaption>It's not so bad, here's a kitten</figcaption>
|
||||||
|
</figure>
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue