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

11 lines
356 B
JavaScript
Raw Normal View History

import { connect } from 'react-redux';
import { selectUnclaimedRewardValue, selectFetchingRewards } from 'redux/selectors/rewards';
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, null)(RewardSummary);