const { TemplateHelper: th } = require('@squeep/html-template-helper');
+/**
+ *
+ * @returns {String}
+ */
function mainContent() {
return [
`<section>
],
};
// Ensure there is always an error to report, even if we do not have one, as we ended up here somehow.
- if (!ctx.errors || !ctx.errors.length) {
+ if (!ctx?.errors?.length) {
ctx.errors = [
'Unknown Error — we are not sure what just happened',
];