diff --git a/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/deposit/RDMDepositForm.js b/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/deposit/RDMDepositForm.js index b22bc87f6..4adb19347 100644 --- a/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/deposit/RDMDepositForm.js +++ b/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/deposit/RDMDepositForm.js @@ -699,7 +699,7 @@ export class RDMDepositForm extends Component { RDMDepositForm.propTypes = { groupsEnabled: PropTypes.bool.isRequired, config: PropTypes.object.isRequired, - recordRestrictionGracePeriod: PropTypes.object.isRequired, + recordRestrictionGracePeriod: PropTypes.number.isRequired, allowRecordRestriction: PropTypes.bool.isRequired, record: PropTypes.object.isRequired, preselectedCommunity: PropTypes.object,