lbry-desktop/src/renderer/component/rewardTile/index.js
2018-09-25 20:13:49 -04:00

12 lines
300 B
JavaScript

import { connect } from 'react-redux';
import { MODALS, doNotify } from 'lbry-redux';
import RewardTile from './view';
const perform = dispatch => ({
openRewardCodeModal: () => dispatch(doNotify({ id: MODALS.REWARD_GENERATED_CODE })),
});
export default connect(
null,
perform
)(RewardTile);