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);
|