mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-23 17:47:24 +00:00
11 lines
365 B
JavaScript
11 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);
|