diff --git a/src/components/Provide/IntlProvider.js b/src/components/Provide/IntlProvider.js index 12985004b..b110fd128 100644 --- a/src/components/Provide/IntlProvider.js +++ b/src/components/Provide/IntlProvider.js @@ -1,13 +1,11 @@ import React, { PropTypes } from 'react'; import { connect } from 'react-redux'; -import { IntlProvider, intlShape } from 'react-intl'; +import { IntlProvider } from 'react-intl'; function ProvideIntl({ intl, children }) { return ( {children} @@ -16,11 +14,10 @@ function ProvideIntl({ intl, children }) { } ProvideIntl.propTypes = { - intl: intlShape, + ...IntlProvider.propTypes, children: PropTypes.element.isRequired, }; export default connect(state => ({ - runtime: state.runtime, intl: state.intl, }))(ProvideIntl);