mirror of
https://github.com/Lissy93/dashy.git
synced 2024-11-28 05:14:08 +03:00
⚡ Removes obsolete always-true null check
This commit is contained in:
parent
5c45f4fbc6
commit
cf002116f8
@ -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,
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user