Do not use the @translate on the FormDecorator
You must not decorate decorator with @translate(). Only final classes have to be decorated. for the same reason, the order of decorator declaration in final classes is important and @translate must be in last position (juste before the class declaration)pull/188/head
parent
5e1dfb98c6
commit
e70f0d0b10
|
@ -32,7 +32,6 @@ export var FormDecorator = formType => RenderField =>
|
|||
dispatch(change('conversation', field, value))
|
||||
})
|
||||
)
|
||||
@translate()
|
||||
class extends Component {
|
||||
static contextTypes = {
|
||||
i18n: PropTypes.object.isRequired
|
||||
|
|
Loading…
Reference in New Issue