10 lines
275 B
JavaScript
10 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);
|