diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-05-10 11:27:59 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2019-05-10 11:49:00 +0200 |
commit | d4d4e84324701243ce05930f45b2dc876e38c7d0 (patch) | |
tree | 24c1b903b6c19226f633a3a252e2a39b05d57342 /app | |
parent | 3191c3b349f67442f3ae42be6e1b141e2392a293 (diff) |
Fix media description confirmation modal
Fixes #1040
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/flavours/glitch/features/compose/containers/compose_form_container.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/features/compose/containers/compose_form_container.js b/app/javascript/flavours/glitch/features/compose/containers/compose_form_container.js index 2da0770d3..814f9a97a 100644 --- a/app/javascript/flavours/glitch/features/compose/containers/compose_form_container.js +++ b/app/javascript/flavours/glitch/features/compose/containers/compose_form_container.js @@ -1,5 +1,5 @@ import { connect } from 'react-redux'; -import { defineMessages } from 'react-intl'; +import { defineMessages, injectIntl } from 'react-intl'; import ComposeForm from '../components/compose_form'; import { changeCompose, @@ -133,4 +133,4 @@ const mapDispatchToProps = (dispatch, { intl }) => ({ }); -export default connect(mapStateToProps, mapDispatchToProps)(ComposeForm); +export default injectIntl(connect(mapStateToProps, mapDispatchToProps)(ComposeForm)); |