2020-04-24 15:51:00 +02:00
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import { doOpenModal } from 'redux/actions/app';
|
|
|
|
import ClaimAbandonButton from './view';
|
|
|
|
|
2021-10-17 10:36:14 +02:00
|
|
|
import { makeSelectClaimForUri } from 'redux/selectors/claims';
|
2020-04-24 15:51:00 +02:00
|
|
|
|
|
|
|
const select = (state, props) => ({
|
|
|
|
claim: props.uri && makeSelectClaimForUri(props.uri)(state),
|
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(select, {
|
|
|
|
doOpenModal,
|
|
|
|
})(ClaimAbandonButton);
|