2017-12-21 22:08:54 +01:00
|
|
|
import HelpPage from './view';
|
2022-05-18 11:14:28 +02:00
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import { doOpenModal } from 'redux/actions/app';
|
|
|
|
import { selectHomepageAnnouncement } from 'redux/selectors/settings';
|
2017-07-20 21:03:01 +02:00
|
|
|
|
2022-05-18 11:14:28 +02:00
|
|
|
const select = (state) => ({
|
|
|
|
announcement: selectHomepageAnnouncement(state),
|
|
|
|
});
|
|
|
|
|
|
|
|
const perform = {
|
|
|
|
doOpenModal,
|
|
|
|
};
|
|
|
|
|
|
|
|
export default connect(select, perform)(HelpPage);
|