Skip to content

Commit

Permalink
fix: revert
Browse files Browse the repository at this point in the history
  • Loading branch information
ndom91 committed Jul 11, 2024
1 parent 4b6f43e commit 582b642
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/analytics.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ import { usePathname } from 'next/navigation'
function SwetrixComponent() {
const pathname = usePathname()

if (
typeof window !== 'undefined' &&
window.location.host === 'briefkastenhq.com'
) {
if (window.location.host === 'briefkastenhq.com') {
Swetrix.init(process.env.NEXT_PUBLIC_SWETRIX_PROJECT, {
apiURL: process.env.NEXT_PUBLIC_SWETRIX_API_HOST,
})
Expand Down

0 comments on commit 582b642

Please sign in to comment.