Skip to content

Commit

Permalink
fixes build
Browse files Browse the repository at this point in the history
  • Loading branch information
jamuhl committed Oct 2, 2017
1 parent ea93da9 commit c7b0783
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "react-i18next",
"version": "6.0.3",
"version": "6.0.4",
"description": "Internationalization for react done right. Using the i18next i18n ecosystem.",
"main": "dist/commonjs/index.js",
"jsnext:main": "dist/es/index.js",
Expand Down
6 changes: 3 additions & 3 deletions react-i18next.js
Expand Up @@ -533,8 +533,8 @@ function translate(namespaces) {


return function Wrapper(WrappedComponent) {
var Translate = function (_PureComponent) {
inherits(Translate, _PureComponent);
var Translate = function (_Component) {
inherits(Translate, _Component);

function Translate(props, context) {
classCallCheck(this, Translate);
Expand Down Expand Up @@ -582,7 +582,7 @@ function translate(namespaces) {
}
}]);
return Translate;
}(PureComponent);
}(React.Component);

Translate.WrappedComponent = WrappedComponent;

Expand Down

0 comments on commit c7b0783

Please sign in to comment.