ee9f63a161
bugfix wip flow fix cleaning clean
15 lines
517 B
JavaScript
15 lines
517 B
JavaScript
import { connect } from 'react-redux';
|
|
import { makeSelectClaimForUri } from 'redux/selectors/claims';
|
|
import { makeSelectViewCountForUri } from 'lbryinc';
|
|
import { selectLanguage } from 'redux/selectors/settings';
|
|
import FileViewCountInline from './view';
|
|
|
|
const select = (state, props) => {
|
|
return {
|
|
claim: makeSelectClaimForUri(props.uri)(state),
|
|
viewCount: makeSelectViewCountForUri(props.uri)(state),
|
|
lang: selectLanguage(state),
|
|
};
|
|
};
|
|
|
|
export default connect(select, null)(FileViewCountInline);
|