ee9f63a161
bugfix wip flow fix cleaning clean
14 lines
434 B
JavaScript
14 lines
434 B
JavaScript
import { connect } from 'react-redux';
|
|
import { doResolveUri } from 'redux/actions/claims';
|
|
import { makeSelectClaimForUri } from 'redux/selectors/claims';
|
|
import UserHistoryItem from './view';
|
|
|
|
const select = (state, props) => ({
|
|
claim: makeSelectClaimForUri(props.uri)(state),
|
|
});
|
|
|
|
const perform = (dispatch) => ({
|
|
resolveUri: (uri) => dispatch(doResolveUri(uri)),
|
|
});
|
|
|
|
export default connect(select, perform)(UserHistoryItem);
|