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

9 lines
298 B
JavaScript

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