lbry-desktop/ui/component/fileViewCount/index.js
2020-01-06 16:35:43 -05:00

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