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

10 lines
290 B
JavaScript
Raw Permalink Normal View History

2019-11-13 19:14:19 +01:00
import { connect } from 'react-redux';
import { selectUnclaimedRewardValue } from 'redux/selectors/rewards';
2019-11-13 19:14:19 +01:00
import RewardAuthIntro from './view';
const select = state => ({
totalRewardValue: selectUnclaimedRewardValue(state),
});
export default connect(select, null)(RewardAuthIntro);