Fix incorrect and duplicate onConfirm callback

main
Thibaut Girka 6 years ago committed by ThibG
parent 6166751f9e
commit 0605c004a5

@ -167,7 +167,6 @@ const mapDispatchToProps = (dispatch, { intl }) => ({
confirm: intl.formatMessage(messages.missingDescriptionConfirm),
onConfirm: () => dispatch(submitCompose(routerHistory)),
onDoNotAsk: () => dispatch(changeLocalSetting(['confirm_missing_media_description'], false)),
onConfirm: () => dispatch(submitCompose()),
}));
},
onSubmit(routerHistory) {

Loading…
Cancel
Save