11 lines
356 B
JavaScript
11 lines
356 B
JavaScript
|
import { connect } from 'react-redux';
|
||
|
import { selectUnclaimedRewardValue, selectFetchingRewards } from 'redux/selectors/rewards';
|
||
|
import RewardSummary from './view';
|
||
|
|
||
|
const select = state => ({
|
||
|
unclaimedRewardAmount: selectUnclaimedRewardValue(state),
|
||
|
fetching: selectFetchingRewards(state),
|
||
|
});
|
||
|
|
||
|
export default connect(select, null)(RewardSummary);
|