Фигурные скобки лишние
Closed this issue · 5 comments
ibooj commented
kmmbvnr commented
No, that's deconstruction operator.
ibooj commented
я поторопился, вот так const errors = this.props.errors || {}
работает
ibooj commented
а так const {errors} = this.props
ошибка, Unhandled Rejection (TypeError): Cannot read property 'non_field_errors' of undefined
kmmbvnr commented
mm, yep, indeed. Fixed!
Thanks!
ibooj commented
юавелкам)