From 471f5c4c56927ff4f4b7c662adfa6891498487c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=BE=E4=BA=86=E4=B8=AA=E8=90=8C?= <59004461+Pylogmon@users.noreply.github.com> Date: Sat, 18 Feb 2023 11:07:46 +0800 Subject: [PATCH] update @giscus/react --- 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",