diff --git a/src/components/Report.jsx b/src/components/Report.jsx index 1580deb52..a2ffbdc26 100644 --- a/src/components/Report.jsx +++ b/src/components/Report.jsx @@ -72,6 +72,11 @@ export const Report = (props) => { formio.form = { components: [], report }; return formio; } + }).catch((err) => { + console.error(err); + if (formio?.form?.report ) { + formio.form.report = {}; + } }); initializeFormio(); }