diff --git a/src/router.js b/src/router.js index 6606d85d..904eafef 100644 --- a/src/router.js +++ b/src/router.js @@ -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, });