Fix media description confirmation modal

Fixes #1040
th-downstream
Thibaut Girka 6 years ago committed by ThibG
parent e9f0c31dc6
commit e55cf0042f

@ -1,5 +1,5 @@
import { connect } from 'react-redux'; import { connect } from 'react-redux';
import { defineMessages } from 'react-intl'; import { defineMessages, injectIntl } from 'react-intl';
import ComposeForm from '../components/compose_form'; import ComposeForm from '../components/compose_form';
import { import {
changeCompose, changeCompose,
@ -133,4 +133,4 @@ const mapDispatchToProps = (dispatch, { intl }) => ({
}); });
export default connect(mapStateToProps, mapDispatchToProps)(ComposeForm); export default injectIntl(connect(mapStateToProps, mapDispatchToProps)(ComposeForm));

Loading…
Cancel
Save