chore: cleanup

This commit is contained in:
sy
2023-04-01 14:26:12 +08:00
parent d2a9be2f2d
commit 3b18b87122
2 changed files with 0 additions and 3 deletions

View File

@@ -44,7 +44,6 @@ const CommonHead = ({ meta, children }) => {
<meta name="twitter:description" content={description} />
<meta name="twitter:title" content={title} />
{console.log(BLOG)}
{BLOG.COMMENT_WEBMENTION.ENABLE && (
<>
<link rel="webmention" href={`https://webmention.io/${BLOG.COMMENT_WEBMENTION.HOSTNAME}/webmention`} />

View File

@@ -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 (
<div className='webmention-block'>