This commit is contained in:
Mike Fitzpatrick
2019-08-06 14:58:01 -04:00
parent b8ddc54b99
commit 637794ebcd
7 changed files with 58 additions and 43 deletions

View File

@@ -9,7 +9,6 @@ export default class Event extends Component {
return {
description: PropTypes.string,
endTime: PropTypes.string,
fetchEvents: PropTypes.func,
id: PropTypes.string,
images: PropTypes.arrayOf(
PropTypes.shape({
@@ -60,10 +59,6 @@ export default class Event extends Component {
super(props);
}
componentDidMount() {
this.props.fetchEvents();
}
render() {
const {
description,