Removes obsolete always-true null check

This commit is contained in:
Alicia Sykes 2022-05-30 22:21:33 +01:00 committed by Alicia Sykes
parent 1ad89958bc
commit 972e3f7571
1 changed files with 1 additions and 1 deletions

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,
});