d70f0f1d6d
This allows user to re-access the modal if they accidentally dismissed it, never got it (bug?), or simply just want to see it again.
14 lines
364 B
JavaScript
14 lines
364 B
JavaScript
import HelpPage from './view';
|
|
import { connect } from 'react-redux';
|
|
import { doOpenModal } from 'redux/actions/app';
|
|
import { selectHomepageAnnouncement } from 'redux/selectors/settings';
|
|
|
|
const select = (state) => ({
|
|
announcement: selectHomepageAnnouncement(state),
|
|
});
|
|
|
|
const perform = {
|
|
doOpenModal,
|
|
};
|
|
|
|
export default connect(select, perform)(HelpPage);
|