From 440fcff60e64bfe7668c92275dc17e10c8e960c4 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Wed, 1 Mar 2023 22:35:06 +0800 Subject: [PATCH] build --- components/ExternalScript.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ExternalScript.js b/components/ExternalScript.js index 10dcd281..a168caab 100644 --- a/components/ExternalScript.js +++ b/components/ExternalScript.js @@ -6,7 +6,7 @@ import { isBrowser, loadExternalResource } from '@/lib/utils' * @returns */ const ExternalScript = () => { - if (isBrowser) { + if (isBrowser()) { // 静态导入本地自定义样式 loadExternalResource(BLOG.FONT_AWESOME, 'css') loadExternalResource('/css/custom.css', 'css')