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",