mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-23 04:08:06 +01:00
Fix incorrect and duplicate onConfirm callback
This commit is contained in:
parent
6166751f9e
commit
0605c004a5
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue