2020-03-14 17:07:36 +01:00
|
|
|
import { connect } from 'react-redux';
|
2020-09-30 22:46:20 +02:00
|
|
|
import { makeSelectClaimForUri, makeSelectPendingAmountByUri } from 'lbry-redux';
|
2020-03-14 17:07:36 +01:00
|
|
|
import FileSubtitle from './view';
|
|
|
|
|
|
|
|
const select = (state, props) => ({
|
|
|
|
claim: makeSelectClaimForUri(props.uri)(state),
|
2020-03-25 04:15:05 +01:00
|
|
|
pendingAmount: makeSelectPendingAmountByUri(props.uri)(state),
|
2020-03-14 17:07:36 +01:00
|
|
|
});
|
|
|
|
export default connect(select)(FileSubtitle);
|