lbry-desktop/src/ui/component/router/index.js

10 lines
263 B
JavaScript
Raw Normal View History

2019-07-17 22:49:06 +02:00
import { connect } from 'react-redux';
2019-07-23 01:43:30 +02:00
import { selectScrollStartingPosition } from 'redux/selectors/app';
2018-04-18 06:03:01 +02:00
import Router from './view';
2019-07-17 22:49:06 +02:00
const select = state => ({
2019-07-23 01:43:30 +02:00
currentScroll: selectScrollStartingPosition(state),
2019-07-17 22:49:06 +02:00
});
export default connect(select)(Router);