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';
|
2022-06-22 18:32:17 +02:00
|
|
|
import { selectUser } from 'redux/selectors/user';
|
2017-07-20 21:03:01 +02:00
|
|
|
|
2022-05-18 11:14:28 +02:00
|
|
|
const select = (state) => ({
|
|
|
|
announcement: selectHomepageAnnouncement(state),
|
2022-06-22 18:32:17 +02:00
|
|
|
user: selectUser(state),
|
2022-05-18 11:14:28 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
const perform = {
|
|
|
|
doOpenModal,
|
|
|
|
};
|
|
|
|
|
|
|
|
export default connect(select, perform)(HelpPage);
|