From f86690c81a198e9a9738bf275c8ed7d3d0723f9c Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Wed, 29 Nov 2017 20:13:36 -0500 Subject: [PATCH] need to use static --- src/renderer/js/component/form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,