mirror of
https://github.com/ansible/awx.git
synced 2026-07-09 07:18:05 -02:30
move FormField label proptype check to FormField component
This commit is contained in:
@@ -184,10 +184,6 @@ function OrganizationForm({
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
FormField.propTypes = {
|
|
||||||
label: PropTypes.oneOfType([PropTypes.object, PropTypes.string]).isRequired,
|
|
||||||
};
|
|
||||||
|
|
||||||
OrganizationForm.propTypes = {
|
OrganizationForm.propTypes = {
|
||||||
organization: PropTypes.shape(),
|
organization: PropTypes.shape(),
|
||||||
onSubmit: PropTypes.func.isRequired,
|
onSubmit: PropTypes.func.isRequired,
|
||||||
|
|||||||
Reference in New Issue
Block a user