1
0
mirror of https://github.com/franjsco/tick3t synced 2024-12-27 09:53:37 +01:00

refactor: PageNotFound component

This commit is contained in:
Francesco Esposito 2019-07-31 16:08:23 +02:00
parent bf41042ac0
commit d650249972

View File

@ -1,25 +1,18 @@
import React, { Component } from 'react';
import React from 'react';
import Card from '../components/Card';
class PageNotFound extends Component {
constructor(props) {
super(props);
this.state = {};
}
render() {
return (
<div>
<Card
title="404 - Page not found"
footerLink={{path:"/", name:"Back to home"}}
>
<p>The page is not found</p>
</Card>
</div>
);
}
const PageNotFound = (props) => {
return (
<div>
<Card
title="404 - Page not found"
footerLink={{path:"/", name:"Back to home"}}
>
<p>The page is not found</p>
</Card>
</div>
);
}
export default PageNotFound;