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

@@ -20,14 +20,14 @@ export default class ParamBody extends PureComponent {
isExecute: PropTypes.bool,
specSelectors: PropTypes.object.isRequired,
pathMethod: PropTypes.array.isRequired
};
}
static defaultProp = {
consumes: fromJS(["application/json"]),
param: fromJS({}),
onChange: NOOP,
onChangeConsumes: NOOP,
};
}
constructor(props, context) {
super(props, context)