From 8f8dc916ca5a9443e7e0e5c5cc5970fcf6056800 Mon Sep 17 00:00:00 2001 From: PJ568 Date: Wed, 5 Jun 2024 09:23:02 +0800 Subject: [PATCH] fix(view): Giscus error --- src/view/comment/giscus.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/view/comment/giscus.jsx b/src/view/comment/giscus.jsx index 3360d1aa..68156479 100644 --- a/src/view/comment/giscus.jsx +++ b/src/view/comment/giscus.jsx @@ -60,6 +60,9 @@ class Giscus extends Component { ); } const config = { repo }; + config['data-repo'] = repo; + config['data-repo-id'] = repoId; + config['data-category-id'] = categoryId; if (category) { config['data-category'] = category; } else {