lbry-desktop/web/component/youtubeReferralWelcome/index.js

13 lines
304 B
JavaScript
Raw Permalink Normal View History

2019-12-05 06:24:54 +01:00
import { connect } from 'react-redux';
import { doOpenModal } from 'redux/actions/app';
import { selectUser } from 'redux/selectors/user';
2019-12-05 06:24:54 +01:00
import YoutubeWelcome from './view';
const select = state => ({
user: selectUser(state),
});
export default connect(select, {
doOpenModal,
})(YoutubeWelcome);