refactor: link in error card

This commit is contained in:
Francesco Esposito 2019-07-25 09:43:50 +02:00
parent 468dc538e3
commit 73900ecca1
1 changed files with 4 additions and 1 deletions

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>
)