madiator.com/ui/component/rewardAuthIntro/index.js
2021-08-16 12:11:25 +02: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);