mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-23 17:47:24 +00:00
16 lines
379 B
JavaScript
16 lines
379 B
JavaScript
import { connect } from 'react-redux';
|
|
import { selectClaimsById, doSetFileListSort } from 'lbry-redux';
|
|
import FileList from './view';
|
|
|
|
const select = state => ({
|
|
claimsById: selectClaimsById(state),
|
|
});
|
|
|
|
const perform = dispatch => ({
|
|
setFileListSort: (page, value) => dispatch(doSetFileListSort(page, value)),
|
|
});
|
|
|
|
export default connect(
|
|
select,
|
|
perform
|
|
)(FileList);
|