Skip to content

Commit

Permalink
fix(view): Giscus error
Browse files Browse the repository at this point in the history
  • Loading branch information
PJ-568 committed Jun 5, 2024
1 parent cd13d94 commit 8f8dc91
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/view/comment/giscus.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8f8dc91

Please sign in to comment.