diff --git a/src/renderer/js/component/form.js b/src/renderer/js/component/form.js index f5b4ee173..820ae251c 100644 --- a/src/renderer/js/component/form.js +++ b/src/renderer/js/component/form.js @@ -35,7 +35,7 @@ export class Form extends React.PureComponent { } export class FormRow extends React.PureComponent { - propTypes = { + static propTypes = { label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]), errorMessage: PropTypes.oneOfType([PropTypes.string, PropTypes.object]), // helper: PropTypes.html,