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

13 lines
346 B
JavaScript

import * as MODALS from 'constants/modal_types';
import { connect } from 'react-redux';
import { doOpenModal } from 'redux/actions/app';
import RewardTile from './view';
const perform = dispatch => ({
openRewardCodeModal: () => dispatch(doOpenModal(MODALS.REWARD_GENERATED_CODE)),
});
export default connect(
null,
perform
)(RewardTile);