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

9 lines
281 B
JavaScript

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