lbry-desktop/ui/page/help/index.js

17 lines
442 B
JavaScript
Raw Normal View History

import HelpPage from './view';
import { connect } from 'react-redux';
import { doOpenModal } from 'redux/actions/app';
import { selectHomepageAnnouncement } from 'redux/selectors/settings';
import { selectUser } from 'redux/selectors/user';
2017-07-20 21:03:01 +02:00
const select = (state) => ({
announcement: selectHomepageAnnouncement(state),
user: selectUser(state),
});
const perform = {
doOpenModal,
};
export default connect(select, perform)(HelpPage);