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