lbry-desktop/src/renderer/component/router/index.js
2018-04-18 00:13:00 -04:00

10 lines
295 B
JavaScript

import { connect } from 'react-redux';
import { selectCurrentPage, selectCurrentParams } from 'lbry-redux';
import Router from './view';
const select = state => ({
params: selectCurrentParams(state),
currentPage: selectCurrentPage(state),
});
export default connect(select, null)(Router);