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

12 lines
365 B
JavaScript

import { connect } from 'react-redux';
import { selectUserVerifiedEmail } from 'lbryinc';
import { selectScrollStartingPosition } from 'redux/selectors/app';
import Router from './view';
const select = state => ({
currentScroll: selectScrollStartingPosition(state),
isAuthenticated: selectUserVerifiedEmail(state),
});
export default connect(select)(Router);