Fix media description confirmation modal

Fixes #1040
This commit is contained in:
Thibaut Girka 2019-05-10 11:27:59 +02:00 committed by ThibG
parent 3191c3b349
commit d4d4e84324

View file

@ -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));