diff --git a/src/components/RelatedContentModules/PageUpdated.js b/src/components/RelatedContentModules/PageUpdated.js index d528bfe19..71af63786 100644 --- a/src/components/RelatedContentModules/PageUpdated.js +++ b/src/components/RelatedContentModules/PageUpdated.js @@ -9,6 +9,9 @@ const PageUpdated = ({ page }) => { fields: { gitAuthorTime }, } = page; + // If there is no date available, do not render the component + if (gitAuthorTime === 'Invalid date') return null; + return ( <Section css={css`