mirror of
https://github.com/franjsco/tick3t
synced 2025-06-05 22:19:18 +02:00
remove MessageCard component
This commit is contained in:
@ -1,27 +0,0 @@
|
|||||||
import React, { Component } from 'react';
|
|
||||||
import { Link } from 'react-router-dom';
|
|
||||||
|
|
||||||
import Card from '../components/Card';
|
|
||||||
|
|
||||||
class MessageCard extends Component {
|
|
||||||
constructor(props) {
|
|
||||||
super(props);
|
|
||||||
|
|
||||||
this.state = {};
|
|
||||||
}
|
|
||||||
|
|
||||||
render() {
|
|
||||||
return (
|
|
||||||
<div>
|
|
||||||
<Card
|
|
||||||
title={this.props.title}
|
|
||||||
message={this.props.message}
|
|
||||||
footer={<Link to="/">Go to home</Link>} />
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
export default MessageCard;
|
|
Reference in New Issue
Block a user