mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-06 15:10:29 +00:00
Code🤣
This commit is contained in:
14
components/Ackee.js
Normal file
14
components/Ackee.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import { useRouter } from 'next/router'
|
||||
import useAckee from 'use-ackee'
|
||||
|
||||
const Ackee = ({ ackeeServerUrl, ackeeDomainId }) => {
|
||||
const router = useRouter()
|
||||
useAckee(
|
||||
router.asPath,
|
||||
{ server: ackeeServerUrl, domainId: ackeeDomainId },
|
||||
{ detailed: false, ignoreLocalhost: true }
|
||||
)
|
||||
return null
|
||||
}
|
||||
|
||||
export default Ackee
|
||||
Reference in New Issue
Block a user