2020-03-18 22:14:11 +01:00
|
|
|
import { connect } from 'react-redux';
|
2021-02-09 17:05:56 +01:00
|
|
|
import { makeSelectClaimForUri } from 'lbry-redux';
|
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
|
|
|
});
|
|
|
|
|
2021-02-09 17:05:56 +01:00
|
|
|
export default connect(select)(CreatorAnalytics);
|