mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-23 17:47:24 +00:00
9 lines
275 B
JavaScript
9 lines
275 B
JavaScript
import { connect } from 'react-redux';
|
|
import { makeSelectViewCountForUri } from 'lbryinc';
|
|
import FileViewCount from './view';
|
|
|
|
const select = (state, props) => ({
|
|
viewCount: makeSelectViewCountForUri(props.uri)(state),
|
|
});
|
|
|
|
export default connect(select)(FileViewCount);
|