Removes obsolete always-true null check

This commit is contained in:
Alicia Sykes 2022-05-30 22:21:33 +01:00
parent 5c45f4fbc6
commit cf002116f8

View File

@ -60,7 +60,7 @@ const getStartingComponent = () => {
/* Returns the meta tags for each route */
const makeMetaTags = (defaultTitle) => ({
title: pageInfo && pageInfo.title ? pageInfo.title : defaultTitle,
title: pageInfo.title || defaultTitle,
metaTags: metaTagData,
});