13 lines
343 B
JavaScript
13 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);
|