mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-29 16:31:33 +00:00
10 lines
295 B
JavaScript
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);
|