From e55cf0042fec16d3e1e6aae058fb413946a45889 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Fri, 10 May 2019 11:27:59 +0200 Subject: [PATCH] Fix media description confirmation modal Fixes #1040 --- .../features/compose/containers/compose_form_container.js | 4 ++-- 1 file 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 2da0770d32..814f9a97a5 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));