From 0605c004a54640cd1511558e5ded15958174223c Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Fri, 21 Dec 2018 17:54:47 +0100 Subject: [PATCH] Fix incorrect and duplicate onConfirm callback --- app/javascript/flavours/glitch/features/composer/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/app/javascript/flavours/glitch/features/composer/index.js b/app/javascript/flavours/glitch/features/composer/index.js index eb0bc867b4..ec0e405a47 100644 --- a/app/javascript/flavours/glitch/features/composer/index.js +++ b/app/javascript/flavours/glitch/features/composer/index.js @@ -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) {