2020-03-14 12:07:36 -04:00
|
|
|
import { connect } from 'react-redux';
|
2020-07-24 14:00:17 -04:00
|
|
|
import { makeSelectClaimForUri, makeSelectPendingAmountByUri, makeSelectClaimIsMine } from 'lbry-redux';
|
2020-03-14 12:07:36 -04:00
|
|
|
import FileSubtitle from './view';
|
|
|
|
|
|
|
|
const select = (state, props) => ({
|
|
|
|
claim: makeSelectClaimForUri(props.uri)(state),
|
2020-03-24 23:15:05 -04:00
|
|
|
pendingAmount: makeSelectPendingAmountByUri(props.uri)(state),
|
2020-07-24 14:00:17 -04:00
|
|
|
claimIsMine: makeSelectClaimIsMine(props.uri)(state),
|
2020-03-14 12:07:36 -04:00
|
|
|
});
|
|
|
|
export default connect(select)(FileSubtitle);
|