Rewrite actions/modal and reducers/modal with typescript (#24833)
This commit is contained in:
committed by
GitHub
parent
4197b5e4c8
commit
38c6216082
@@ -18,8 +18,11 @@ const mapStateToProps = (state, { accountId }) => ({
|
||||
|
||||
const mapDispatchToProps = (dispatch) => ({
|
||||
onSignupClick() {
|
||||
dispatch(closeModal());
|
||||
dispatch(openModal('CLOSED_REGISTRATIONS'));
|
||||
dispatch(closeModal({
|
||||
modalType: undefined,
|
||||
ignoreFocus: false,
|
||||
}));
|
||||
dispatch(openModal({ modalType: 'CLOSED_REGISTRATIONS' }));
|
||||
},
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user