lbry-desktop/ui/component/rewardAuthIntro/index.js
2020-06-16 09:56:32 -04:00

9 lines
290 B
JavaScript

import { connect } from 'react-redux';
import { selectUnclaimedRewardValue } from 'redux/selectors/rewards';
import RewardAuthIntro from './view';
const select = state => ({
totalRewardValue: selectUnclaimedRewardValue(state),
});
export default connect(select, null)(RewardAuthIntro);