lbry-desktop/ui/component/fileSubtitle/index.js
2020-09-30 17:00:18 -04:00

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);