We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f23cea commit 962c81dCopy full SHA for 962c81d
src/main/frontend/src/components/AddCommentForm.js
@@ -89,7 +89,7 @@ class AddCommentForm extends React.PureComponent {
89
90
class AddCommentFormView extends React.PureComponent {
91
render() {
92
- const {handleSubmit, hasServerError, handleChange, validationErrors, isDisabled, l10n} = this.props;
+ const {handleSubmit, hasServerError, handleChange, validationErrors = [], isDisabled, l10n = {}} = this.props;
93
const hasValidationErrors = validationErrors.length > 0;
94
return (
95
<div className="col-sm-12 form-group">
0 commit comments