From d81c2ef77f5f49cb11e33570899a04ae22ea51d7 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Sun, 19 Feb 2023 10:46:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7Giscus?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Giscus.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Giscus.js b/components/Giscus.js index 605430da..173117bc 100644 --- a/components/Giscus.js +++ b/components/Giscus.js @@ -1,6 +1,6 @@ import BLOG from '@/blog.config' import { useGlobal } from '@/lib/global' -import { Giscus } from '@giscus/react' +import Giscus from '@giscus/react' /** * Giscus评论 @see https://giscus.app/zh-CN diff --git a/package.json b/package.json index c9cb101e..798a5ca0 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "bundle-report": "ANALYZE=true yarn build" }, "dependencies": { - "@giscus/react": "^1.1.2", + "@giscus/react": "^2.2.6", "@next/bundle-analyzer": "^12.1.1", "@popperjs/core": "^2.9.3", "animate.css": "^4.1.1",