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

14 lines
346 B
JavaScript
Raw Normal View History

import * as MODALS from 'constants/modal_types';
import { connect } from 'react-redux';
2018-11-27 10:43:58 -05:00
import { doOpenModal } from 'redux/actions/app';
import RewardTile from './view';
2018-09-25 20:12:07 -04:00
const perform = dispatch => ({
openRewardCodeModal: () => dispatch(doOpenModal(MODALS.REWARD_GENERATED_CODE)),
2018-09-25 20:12:07 -04:00
});
export default connect(
null,
perform
)(RewardTile);