diff --git a/themes/fukasawa/components/Logo.js b/themes/fukasawa/components/Logo.js index 14633529..42cbc268 100644 --- a/themes/fukasawa/components/Logo.js +++ b/themes/fukasawa/components/Logo.js @@ -4,7 +4,7 @@ const Logo = props => { const { siteInfo } = props return
- {siteInfo.title} + {siteInfo?.title}
} diff --git a/themes/hexo/components/Logo.js b/themes/hexo/components/Logo.js index 4a4f450b..8844d1ad 100644 --- a/themes/hexo/components/Logo.js +++ b/themes/hexo/components/Logo.js @@ -5,7 +5,7 @@ const Logo = props => { const { siteInfo } = props return
-
{siteInfo.title}
+
{siteInfo?.title}
} diff --git a/themes/medium/components/LogoBar.js b/themes/medium/components/LogoBar.js index 6ff2926c..157e01dd 100644 --- a/themes/medium/components/LogoBar.js +++ b/themes/medium/components/LogoBar.js @@ -4,7 +4,7 @@ export default function LogoBar (props) { const { siteInfo } = props return
- {siteInfo.title} + {siteInfo?.title}
}