madiator.com/ui/component/claimCollectionAddButton/index.js
2021-08-16 12:11:25 +02:00

12 lines
343 B
JavaScript

import { connect } from 'react-redux';
import { doOpenModal } from 'redux/actions/app';
import PlaylistAddButton from './view';
import { makeSelectClaimForUri } from 'lbry-redux';
const select = (state, props) => ({
claim: makeSelectClaimForUri(props.uri)(state),
});
export default connect(select, {
doOpenModal,
})(PlaylistAddButton);