lbry-desktop/ui/page/help/index.js
infinite-persistence d70f0f1d6d
Add "What's New" button in the Help Page
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.
2022-05-20 00:04:07 +08:00

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);