lbry-desktop/ui/component/fileViewCount/index.js

10 lines
275 B
JavaScript
Raw Normal View History

2020-01-06 19:32:35 +01:00
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);