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

10 lines
284 B
JavaScript
Raw Normal View History

2020-03-18 22:14:11 +01:00
import { connect } from 'react-redux';
import { makeSelectClaimForUri } from 'redux/selectors/claims';
2020-03-18 22:14:11 +01:00
import CreatorAnalytics from './view';
2020-04-22 21:07:38 +02:00
const select = (state, props) => ({
claim: makeSelectClaimForUri(props.uri)(state),
2020-03-18 22:14:11 +01:00
});
export default connect(select)(CreatorAnalytics);