lbry-desktop/ui/component/page/index.js
2019-11-11 13:27:29 -05:00

9 lines
246 B
JavaScript

import { connect } from 'react-redux';
import { selectUserVerifiedEmail } from 'lbryinc';
import Page from './view';
const select = state => ({
authenticated: Boolean(selectUserVerifiedEmail(state)),
});
export default connect(select)(Page);