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

14 lines
346 B
JavaScript
Raw Normal View History

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