Merge pull request #802 from lbryio/typo

need to use static with propTypes
This commit is contained in:
Sean Yesmunt 2017-11-29 20:25:44 -05:00 committed by GitHub
commit 2af758cee2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,