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