- more tweaks and fixes.... still not running

This commit is contained in:
2019-08-09 02:01:39 -04:00
parent e07a4cb2b9
commit e6a4eeaeb1
9 changed files with 34 additions and 37 deletions

View File

@@ -6,10 +6,9 @@ import { getEventsAsList } from '../selectors/events.js';
import Events from './Events.js';
const matchStateToProps = (state) => {
const events = getEventsAsList(state);
return { events };
};
const matchStateToProps = (state) => ({
events: getEventsAsList(state),
});
const mapDispatchToProps = (dispatch) => ({
fetchEvents: () => dispatch(fetchEvents()),