2020-02-12 16:10:17 +01:00
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import { makeSelectClaimForUri } from 'lbry-redux';
|
2020-12-22 16:16:39 +01:00
|
|
|
import ClaimEffectiveAmount from './view';
|
2020-02-12 16:10:17 +01:00
|
|
|
|
|
|
|
const select = (state, props) => ({
|
2020-12-22 16:16:39 +01:00
|
|
|
claim: makeSelectClaimForUri(props.uri, true)(state),
|
2020-02-12 16:10:17 +01:00
|
|
|
});
|
|
|
|
|
2020-12-22 16:16:39 +01:00
|
|
|
export default connect(select)(ClaimEffectiveAmount);
|