lbry-desktop/ui/component/youtubeWelcome/index.js

16 lines
301 B
JavaScript
Raw 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 'lbryinc';
2019-12-05 06:24:54 +01:00
import YoutubeWelcome from './view';
const select = state => ({
user: selectUser(state),
});
2019-12-05 06:24:54 +01:00
export default connect(
select,
2019-12-05 06:24:54 +01:00
{
doOpenModal,
}
)(YoutubeWelcome);