diff --git a/src/Components/Form.js b/src/Components/Form.js index a177929f..9d5e4e27 100644 --- a/src/Components/Form.js +++ b/src/Components/Form.js @@ -26,7 +26,7 @@ Form.propTypes = { // eslint-disable-next-line react/forbid-prop-types data: PropTypes.object.isRequired, onChange: PropTypes.func, - children: Promise.node, + children: PropTypes.node, }; Form.defaultProps = { diff --git a/src/EMS/PatientFields.js b/src/EMS/PatientFields.js index 4caa50f8..b7b114f5 100644 --- a/src/EMS/PatientFields.js +++ b/src/EMS/PatientFields.js @@ -47,7 +47,7 @@ function PatientFields({ ringdown, onChange }) { return (