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

10 lines
246 B
JavaScript
Raw Normal View History

2019-09-26 18:07:11 +02:00
import { connect } from 'react-redux';
import { selectUserVerifiedEmail } from 'lbryinc';
2018-03-26 23:32:43 +02:00
import Page from './view';
2019-06-17 22:32:38 +02:00
2019-09-26 18:07:11 +02:00
const select = state => ({
authenticated: Boolean(selectUserVerifiedEmail(state)),
});
export default connect(select)(Page);