2017-12-21 22:08:54 +01:00
|
|
|
import React from 'react';
|
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import { selectUnclaimedRewardValue } from 'redux/selectors/rewards';
|
|
|
|
import RewardSummary from './view';
|
2017-08-20 23:42:00 +02:00
|
|
|
|
|
|
|
const select = state => ({
|
|
|
|
unclaimedRewardAmount: selectUnclaimedRewardValue(state),
|
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(select, null)(RewardSummary);
|