madiator.com/ui/component/creatorAnalytics/index.js
2021-08-16 12:11:25 +02:00

9 lines
272 B
JavaScript

import { connect } from 'react-redux';
import { makeSelectClaimForUri } from 'lbry-redux';
import CreatorAnalytics from './view';
const select = (state, props) => ({
claim: makeSelectClaimForUri(props.uri)(state),
});
export default connect(select)(CreatorAnalytics);