diff --git a/apps/codeforafrica/src/lib/data/seo.js b/apps/codeforafrica/src/lib/data/seo.js index f93e462c8..081ee67be 100644 --- a/apps/codeforafrica/src/lib/data/seo.js +++ b/apps/codeforafrica/src/lib/data/seo.js @@ -19,7 +19,11 @@ function stringifyDescription(description) { export default function getPageSeoFromMeta(page, settings) { const { title: pageTitle, meta: pageMeta } = page; - const { title: metaTitle, description: metaDescription, image } = pageMeta; + const { + title: metaTitle, + description: metaDescription, + image = {}, + } = pageMeta; const { title: siteTitle, description: siteDescription } = settings; const title = metaTitle || pageTitle || siteTitle || null; const description =