mirror of
https://github.com/franjsco/tick3t
synced 2025-06-05 22:19:18 +02:00
refactor: link in error card
This commit is contained in:
@ -50,7 +50,10 @@ class ViewTicket extends Component {
|
|||||||
|
|
||||||
if (error) {
|
if (error) {
|
||||||
return (
|
return (
|
||||||
<Card title="Error">
|
<Card
|
||||||
|
title="Error"
|
||||||
|
footerLink={{path:"/", name:"Back to home"}}
|
||||||
|
>
|
||||||
<p>{error.message}</p>
|
<p>{error.message}</p>
|
||||||
</Card>
|
</Card>
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user