2017-12-21 18:08:54 -03:00
|
|
|
import { connect } from 'react-redux';
|
2019-11-02 11:55:17 -04:00
|
|
|
import { selectUnclaimedRewardValue, selectFetchingRewards } from 'lbryinc';
|
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
|
|
|
});
|
|
|
|
|
2018-07-17 19:26:03 -04:00
|
|
|
export default connect(
|
|
|
|
select,
|
2019-11-02 11:55:17 -04:00
|
|
|
null
|
2018-07-17 19:26:03 -04:00
|
|
|
)(RewardSummary);
|