Skip to content

Commit

Permalink
Merge pull request #767 from tubone24/gitalk
Browse files Browse the repository at this point in the history
gitalk renovate
  • Loading branch information
tubone24 committed Jan 15, 2022
2 parents d692587 + d921ee2 commit 51f1dff
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 59 deletions.
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

109 changes: 54 additions & 55 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -9,7 +9,6 @@
"@sentry/browser": "6.16.0",
"@sentry/react": "6.16.0",
"@sentry/tracing": "6.16.0",
"@tubone24/gitalk": "1.7.4",
"@types/react-helmet": "^6.1.5",
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
Expand Down Expand Up @@ -60,6 +59,7 @@
"gatsby-remark-table-of-contents": "1.0.0",
"gatsby-source-filesystem": "4.3.0",
"gatsby-transformer-remark": "5.3.0",
"gitalk": "git+https://github.com/tubone24/gitalk.git",
"highlight.js": "11.3.1",
"html-minifier": "4.0.0",
"intersection-observer": "0.12.0",
Expand Down
4 changes: 2 additions & 2 deletions src/components/Gitalk/index.tsx
@@ -1,7 +1,7 @@
import React, { Component } from "react";
import "@tubone24/gitalk/dist/gitalk.css";
import "gitalk/dist/gitalk.css";
const isBrowser = typeof window !== "undefined";
const Gitalk = isBrowser ? require("@tubone24/gitalk") : undefined;
const Gitalk = isBrowser ? require("gitalk") : undefined;

type Props = {
id: string;
Expand Down

0 comments on commit 51f1dff

Please sign in to comment.