mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 16:47:45 -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 = {
|
||||
organization: PropTypes.shape(),
|
||||
onSubmit: PropTypes.func.isRequired,
|
||||
|
||||
Reference in New Issue
Block a user