Merge pull request #3532 from chrisgarrity/issue/fix-ie-intl

Restore IntlProvider for Internet Explorer
This commit is contained in:
chrisgarrity authored and GitHub committed 2018-10-29 09:59:25 -04:00
commit 0785ffaa10
1 file changed
+4 -1
+4 -1
View File
@@ -2,6 +2,7 @@ import React from 'react';
import PropTypes from 'prop-types';
import {Provider} from 'react-redux';
import {createStore, combineReducers, compose} from 'redux';
import ConnectedIntlProvider from './connected-intl-provider.jsx';
import localesReducer, {initLocale, localesInitialState} from '../reducers/locales';
@@ -107,7 +108,9 @@ const AppStateHOC = function (WrappedComponent, localesOnly) {
} = this.props;
return (
<Provider store={this.store}>
<WrappedComponent {...componentProps} />
<ConnectedIntlProvider>
<WrappedComponent {...componentProps} />
</ConnectedIntlProvider>
</Provider>
);
}