diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-12-21 17:54:47 +0100 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-12-21 20:00:49 +0100 |
commit | 0605c004a54640cd1511558e5ded15958174223c (patch) | |
tree | 023c7506d47fc08b4a12575397617cb373a5db58 /app/javascript/flavours/glitch | |
parent | 6166751f9ee0d14f3662e64cb660ccb4f34f906c (diff) |
Fix incorrect and duplicate onConfirm callback
Diffstat (limited to 'app/javascript/flavours/glitch')
-rw-r--r-- | app/javascript/flavours/glitch/features/composer/index.js | 1 |
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) { |