lbry-desktop/ui/modal/modalSetReferrer/index.js

17 lines
419 B
JavaScript
Raw Normal View History

2020-01-06 23:53:27 +01:00
import { connect } from 'react-redux';
import { doHideModal } from 'redux/actions/app';
import { doUserSetReferrer } from 'lbryinc';
import ModalSetReferrer from './view';
const select = state => ({});
const perform = dispatch => ({
closeModal: () => dispatch(doHideModal()),
submitReferrer: referrer => dispatch(doUserSetReferrer(referrer)),
});
export default connect(
select,
perform
)(ModalSetReferrer);