about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-12-21 17:54:47 +0100
committerThibG <thib@sitedethib.com>2018-12-21 20:00:49 +0100
commit0605c004a54640cd1511558e5ded15958174223c (patch)
tree023c7506d47fc08b4a12575397617cb373a5db58 /app
parent6166751f9ee0d14f3662e64cb660ccb4f34f906c (diff)
Fix incorrect and duplicate onConfirm callback
Diffstat (limited to 'app')
-rw-r--r--app/javascript/flavours/glitch/features/composer/index.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/composer/index.js b/app/javascript/flavours/glitch/features/composer/index.js
index eb0bc867b..ec0e405a4 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) {