Fix media description confirmation modal

Fixes #1040
main
Thibaut Girka 2019-05-10 11:27:59 +02:00 committed by ThibG
parent 3191c3b349
commit d4d4e84324
1 changed files with 2 additions and 2 deletions

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