mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-26 23:16:50 +00:00
fix: 调整优化展示判断逻辑
This commit is contained in:
@@ -48,6 +48,7 @@ const MyApp = ({ Component, pageProps }) => {
|
||||
{BLOG.ADSENSE_GOOGLE_ID && <GoogleAdsense />}
|
||||
{BLOG.FACEBOOK_APP_ID && BLOG.FACEBOOK_PAGE_ID && <Messenger />}
|
||||
{JSON.parse(BLOG.FIREWORKS) && <Fireworks />}
|
||||
{JSON.parse(BLOG.MUSIC_PLAYER) && <MusicPlayer />}
|
||||
</>
|
||||
|
||||
// 默认Webfont: 请在font.js文件中检查font-family 新版改从npm本地导入;
|
||||
@@ -65,7 +66,6 @@ const MyApp = ({ Component, pageProps }) => {
|
||||
{FONTS_URL?.map(fontUrl => <link href={`${fontUrl}`} key={fontUrl} rel="stylesheet" />)}
|
||||
{externalPlugins}
|
||||
<Component {...pageProps} />
|
||||
<MusicPlayer />
|
||||
</GlobalContextProvider>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user