mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-30 09:05:35 +02:00
⚡ Removes obsolete always-true null check
This commit is contained in:
parent
1ad89958bc
commit
972e3f7571
@ -60,7 +60,7 @@ const getStartingComponent = () => {
|
|||||||
|
|
||||||
/* Returns the meta tags for each route */
|
/* Returns the meta tags for each route */
|
||||||
const makeMetaTags = (defaultTitle) => ({
|
const makeMetaTags = (defaultTitle) => ({
|
||||||
title: pageInfo && pageInfo.title ? pageInfo.title : defaultTitle,
|
title: pageInfo.title || defaultTitle,
|
||||||
metaTags: metaTagData,
|
metaTags: metaTagData,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user