madiator.com/ui/component/claimEffectiveAmount/index.js

10 lines
286 B
JavaScript
Raw Normal View History

2021-08-16 12:11:25 +02:00
import { connect } from 'react-redux';
import { makeSelectClaimForUri } from 'lbry-redux';
import ClaimEffectiveAmount from './view';
const select = (state, props) => ({
claim: makeSelectClaimForUri(props.uri, true)(state),
});
export default connect(select)(ClaimEffectiveAmount);