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

10 lines
358 B
JavaScript
Raw Normal View History

2020-03-14 12:07:36 -04:00
import { connect } from 'react-redux';
2020-09-30 16:46:20 -04:00
import { makeSelectClaimForUri, makeSelectPendingAmountByUri } from 'lbry-redux';
2020-03-14 12:07:36 -04:00
import FileSubtitle from './view';
const select = (state, props) => ({
claim: makeSelectClaimForUri(props.uri)(state),
pendingAmount: makeSelectPendingAmountByUri(props.uri)(state),
2020-03-14 12:07:36 -04:00
});
export default connect(select)(FileSubtitle);