Merge pull request #802 from lbryio/typo
need to use static with propTypes
This commit is contained in:
commit
2af758cee2
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue