fix/mac_code_style

This commit is contained in:
tangly1024
2023-07-07 21:31:36 +08:00
parent c430979d16
commit 91bdba26fe
3 changed files with 4 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ import { useRouter } from 'next/navigation'
const PrismMac = () => {
const router = useRouter()
useEffect(() => {
if (BLOG.CODE_MAC_BAR) {
if (JSON.parse(BLOG.CODE_MAC_BAR)) {
loadExternalResource('/css/prism-mac-style.css', 'css')
}
loadExternalResource(BLOG.PRISM_THEME_PATH, 'css')