- more!
This commit is contained in:
11
app/components/AppHeader/AppHeader.container.js
Normal file
11
app/components/AppHeader/AppHeader.container.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { fetchEvents } from '../../actions/events.js';
|
||||
|
||||
import AppHeader from './AppHeader.js';
|
||||
|
||||
const matchDispatchToProps = (dispatch) => ({
|
||||
fetchEvents: () => dispatch(fetchEvents()),
|
||||
});
|
||||
|
||||
export default connect(null, matchDispatchToProps)(AppHeader);
|
||||
Reference in New Issue
Block a user