lbry-desktop/ui/component/rewardSummary/index.js
2019-11-11 13:27:29 -05:00

13 lines
346 B
JavaScript

import { connect } from 'react-redux';
import { selectUnclaimedRewardValue, selectFetchingRewards } from 'lbryinc';
import RewardSummary from './view';
const select = state => ({
unclaimedRewardAmount: selectUnclaimedRewardValue(state),
fetching: selectFetchingRewards(state),
});
export default connect(
select,
null
)(RewardSummary);