Skip to content

Commit

Permalink
Fix propTypes error that caused JS console error.
Browse files Browse the repository at this point in the history
See also formio#449
and      formio#425
  • Loading branch information
franke-mc committed Nov 22, 2023
1 parent 4c6c232 commit 26aa5bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Form.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ export default class Form extends Component {
form: PropTypes.object,
submission: PropTypes.object,
options: PropTypes.shape({
readOnly: PropTypes.boolean,
noAlerts: PropTypes.boolean,
readOnly: PropTypes.bool,
noAlerts: PropTypes.bool,
i18n: PropTypes.object,
template: PropTypes.string,
saveDraft: PropTypes.boolean,
saveDraft: PropTypes.bool,
}),
onPrevPage: PropTypes.func,
onNextPage: PropTypes.func,
Expand Down

0 comments on commit 26aa5bb

Please sign in to comment.