lbry-desktop/ui/component/rewardSummary/index.js

14 lines
346 B
JavaScript
Raw Normal View History

import { connect } from 'react-redux';
2019-11-02 16:55:17 +01:00
import { selectUnclaimedRewardValue, selectFetchingRewards } from 'lbryinc';
import RewardSummary from './view';
2017-08-20 23:42:00 +02:00
const select = state => ({
unclaimedRewardAmount: selectUnclaimedRewardValue(state),
fetching: selectFetchingRewards(state),
2017-08-20 23:42:00 +02:00
});
export default connect(
select,
2019-11-02 16:55:17 +01:00
null
)(RewardSummary);