mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Fix warning thrown about CodeDetail rows prop
This commit is contained in:
parent
54d50e2459
commit
86aad8b910
@ -60,7 +60,7 @@ CodeDetail.propTypes = {
|
||||
label: node.isRequired,
|
||||
dataCy: string,
|
||||
helpText: string,
|
||||
rows: oneOfType(number, string),
|
||||
rows: oneOfType([number, string]),
|
||||
mode: oneOf(['javascript', 'yaml', 'jinja2']).isRequired,
|
||||
};
|
||||
CodeDetail.defaultProps = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user