@m6web/react-i18n
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -43,6 +43,2 @@ 'use strict'; | ||
TranslatedComponent.contextTypes = { | ||
getTranslateFunction: _propTypes2.default.func.isRequired | ||
}; | ||
TranslatedComponent.fetchData = RenderComponent.fetchData; | ||
@@ -49,0 +45,0 @@ TranslatedComponent.displayName = 'Translated(' + (RenderComponent.displayName || RenderComponent.name) + ')'; |
@@ -54,6 +54,2 @@ 'use strict'; | ||
general: _propTypes2.default.bool | ||
}; | ||
HtmlTrans.contextTypes = { | ||
getTranslateFunction: _propTypes2.default.func.isRequired | ||
}; |
@@ -44,6 +44,2 @@ 'use strict'; | ||
general: _propTypes2.default.bool | ||
}; | ||
Trans.contextTypes = { | ||
getTranslateFunction: _propTypes2.default.func.isRequired | ||
}; |
{ | ||
"name": "@m6web/react-i18n", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Provider and utils for translation in a react app", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
28573
501