2017-12-21 22:08:54 +01:00
|
|
|
import { connect } from 'react-redux';
|
2020-06-15 22:33:03 +02:00
|
|
|
import { selectUnclaimedRewardValue, selectFetchingRewards } from 'redux/selectors/rewards';
|
2017-12-21 22:08:54 +01:00
|
|
|
import RewardSummary from './view';
|
2017-08-20 23:42:00 +02:00
|
|
|
|
|
|
|
const select = state => ({
|
|
|
|
unclaimedRewardAmount: selectUnclaimedRewardValue(state),
|
2018-07-18 01:26:03 +02:00
|
|
|
fetching: selectFetchingRewards(state),
|
2017-08-20 23:42:00 +02:00
|
|
|
});
|
|
|
|
|
2020-06-15 22:33:03 +02:00
|
|
|
export default connect(select, null)(RewardSummary);
|