mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-31 23:16:54 +00:00
移除冲突组件,允许用npm打包
This commit is contained in:
@@ -1,20 +1,19 @@
|
||||
import { useRouter } from 'next/router'
|
||||
import useAckee from 'use-ackee'
|
||||
import BLOG from '@/blog.config'
|
||||
// import { useRouter } from 'next/router'
|
||||
// import BLOG from '@/blog.config'
|
||||
|
||||
const Ackee = () => {
|
||||
const router = useRouter()
|
||||
useAckee(
|
||||
router.asPath,
|
||||
{
|
||||
server: BLOG.ANALYTICS_ACKEE_DATA_SERVER,
|
||||
domainId: BLOG.ANALYTICS_ACKEE_DOMAIN_ID
|
||||
},
|
||||
{
|
||||
detailed: false,
|
||||
ignoreLocalhost: true
|
||||
}
|
||||
)
|
||||
// const router = useRouter()
|
||||
// useAckee(
|
||||
// router.asPath,
|
||||
// {
|
||||
// server: BLOG.ANALYTICS_ACKEE_DATA_SERVER,
|
||||
// domainId: BLOG.ANALYTICS_ACKEE_DOMAIN_ID
|
||||
// },
|
||||
// {
|
||||
// detailed: false,
|
||||
// ignoreLocalhost: true
|
||||
// }
|
||||
// )
|
||||
return null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user