diff --git a/components/templates/NewsPage/index.tsx b/components/templates/NewsPage/index.tsx index 79cacb15..cf8db2b5 100644 --- a/components/templates/NewsPage/index.tsx +++ b/components/templates/NewsPage/index.tsx @@ -25,7 +25,7 @@ const sanitize = (dirty: string | undefined) => { return sanitizeHtml(dirty, sanitizeOptions); } catch { - return; + return undefined; } };