fix(lint): upcoming eslint@8 reported errors (#8105)

* fix: duplicate propTypes

* chore(lint): fix extra semicolon
This commit is contained in:
Tim Lai
2022-07-19 14:46:43 -07:00
committed by GitHub
parent 15284a090d
commit d68b7485b1
10 changed files with 20 additions and 45 deletions

View File

@@ -13,12 +13,12 @@ export default class RequestBodyEditor extends PureComponent {
value: PropTypes.string,
defaultValue: PropTypes.string,
errors: PropTypes.array,
};
}
static defaultProps = {
onChange: NOOP,
userHasEditedBody: false,
};
}
constructor(props, context) {
super(props, context)