You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
317 B
15 lines
317 B
import { connect } from 'react-redux';
|
|
import { createSelector } from 'reselect';
|
|
import Agenda from './Agenda';
|
|
|
|
function createMapStateToProps() {
|
|
return createSelector(
|
|
(state) => state.calendar,
|
|
(calendar) => {
|
|
return calendar;
|
|
}
|
|
);
|
|
}
|
|
|
|
export default connect(createMapStateToProps)(Agenda);
|