From a9f50f9109616957cedc266d8f398294c3040bdc Mon Sep 17 00:00:00 2001 From: Shahul Hameed Date: Thu, 10 Nov 2022 23:07:46 +0530 Subject: [PATCH] Sanitization fix --- src/utils/sanitize.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/sanitize.js b/src/utils/sanitize.js index 14c288a..d4641d4 100644 --- a/src/utils/sanitize.js +++ b/src/utils/sanitize.js @@ -113,6 +113,8 @@ function sanitizeTeam(team) { } function sanitizeSeo(seo) { + if (!seo) return seo; + return { ...pick(seo, [ 'metaTitle',