Fix incorrect and duplicate onConfirm callback
parent
89db203110
commit
e8845f0cb2
|
@ -167,7 +167,6 @@ const mapDispatchToProps = (dispatch, { intl }) => ({
|
||||||
confirm: intl.formatMessage(messages.missingDescriptionConfirm),
|
confirm: intl.formatMessage(messages.missingDescriptionConfirm),
|
||||||
onConfirm: () => dispatch(submitCompose(routerHistory)),
|
onConfirm: () => dispatch(submitCompose(routerHistory)),
|
||||||
onDoNotAsk: () => dispatch(changeLocalSetting(['confirm_missing_media_description'], false)),
|
onDoNotAsk: () => dispatch(changeLocalSetting(['confirm_missing_media_description'], false)),
|
||||||
onConfirm: () => dispatch(submitCompose()),
|
|
||||||
}));
|
}));
|
||||||
},
|
},
|
||||||
onSubmit(routerHistory) {
|
onSubmit(routerHistory) {
|
||||||
|
|
Loading…
Reference in New Issue