1
0
mirror of https://github.com/franjsco/tick3t synced 2025-02-05 20:53:25 +01:00

refactor: link in error card

This commit is contained in:
Francesco Esposito 2019-07-25 09:43:50 +02:00
parent 468dc538e3
commit 73900ecca1

View File

@ -50,7 +50,10 @@ class ViewTicket extends Component {
if (error) {
return (
<Card title="Error">
<Card
title="Error"
footerLink={{path:"/", name:"Back to home"}}
>
<p>{error.message}</p>
</Card>
)