From 3b18b8712256d27674437fb724ac49f284191824 Mon Sep 17 00:00:00 2001 From: sy Date: Sat, 1 Apr 2023 14:26:12 +0800 Subject: [PATCH] chore: cleanup --- components/CommonHead.js | 1 - components/WebMention.js | 2 -- 2 files changed, 3 deletions(-) diff --git a/components/CommonHead.js b/components/CommonHead.js index e4ed9a50..8104ea80 100644 --- a/components/CommonHead.js +++ b/components/CommonHead.js @@ -44,7 +44,6 @@ const CommonHead = ({ meta, children }) => { - {console.log(BLOG)} {BLOG.COMMENT_WEBMENTION.ENABLE && ( <> diff --git a/components/WebMention.js b/components/WebMention.js index 48f0f5a7..1a3db184 100644 --- a/components/WebMention.js +++ b/components/WebMention.js @@ -28,7 +28,6 @@ const WebmentionCount = ({ target }) => { useEffect(() => { async function getCounts() { const responseCounts = await fetchCounts(target) - console.log(responseCounts) setCounts(responseCounts) } getCounts() @@ -140,7 +139,6 @@ const WebMentionBlock = ({ frontMatter }) => { const router = useRouter() const url = `https://${BLOG.COMMENT_WEBMENTION.HOSTNAME}${router.asPath}` const tweet = `${frontMatter.title} by @${BLOG.COMMENT_WEBMENTION.TWITTER_USERNAME} ${url}` - console.log('ini', url, tweet, router.asPath) return (