9 lines
358 B
JavaScript
9 lines
358 B
JavaScript
import { connect } from 'react-redux';
|
|
import { makeSelectClaimForUri, makeSelectPendingAmountByUri } from 'lbry-redux';
|
|
import FileSubtitle from './view';
|
|
|
|
const select = (state, props) => ({
|
|
claim: makeSelectClaimForUri(props.uri)(state),
|
|
pendingAmount: makeSelectPendingAmountByUri(props.uri)(state),
|
|
});
|
|
export default connect(select)(FileSubtitle);
|