mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-31 17:31:27 +00:00
12 lines
300 B
JavaScript
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);
|