2020-02-12 16:10:17 +01:00
|
|
|
import { connect } from 'react-redux';
|
2021-10-17 10:36:14 +02:00
|
|
|
import { makeSelectClaimForUri } from 'redux/selectors/claims';
|
2020-12-22 16:16:39 +01:00
|
|
|
import ClaimEffectiveAmount from './view';
|
2020-02-12 16:10:17 +01:00
|
|
|
|
|
|
|
const select = (state, props) => ({
|
2020-12-22 16:16:39 +01:00
|
|
|
claim: makeSelectClaimForUri(props.uri, true)(state),
|
2020-02-12 16:10:17 +01:00
|
|
|
});
|
|
|
|
|
2020-12-22 16:16:39 +01:00
|
|
|
export default connect(select)(ClaimEffectiveAmount);
|