Skip to content

Commit

Permalink
chore: remove vercel analytics (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsun969 authored Nov 4, 2023
1 parent 95ab568 commit 1685a44
Show file tree
Hide file tree
Showing 4 changed files with 1,653 additions and 4,985 deletions.
7 changes: 0 additions & 7 deletions app/Analytics.tsx

This file was deleted.

5 changes: 1 addition & 4 deletions app/[locale]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@ import { Manrope } from 'next/font/google'
import { notFound } from 'next/navigation'
import { Suspense } from 'react'
import 'tailwindcss/tailwind.css'
import { AnalyticsWrapper } from '~/app/Analytics'
import { Background } from '~/app/Background'
import { Footer } from '~/app/Footer'
import '~/app/globals.css'
import IntlProvider from '~/app/IntlProvider'
import { Rulers } from '~/app/Rulers'
import { Sidebar } from '~/app/Sidebar'
import { ThemeProvider } from '~/app/ThemeProvider'
import { Toasts } from '~/app/Toasts'
import '~/app/globals.css'
import { i18n } from '~/i18n'
import { getMessages } from '~/i18n.server'
import { getOpenGraphImage } from '~/lib/helper'
Expand Down Expand Up @@ -135,8 +134,6 @@ export default async function RootLayout({

<Toasts />
</ThemeProvider>

<AnalyticsWrapper />
</body>
</PostHogProvider>
</html>
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"@sanity/document-internationalization": "^1.1.1",
"@sanity/image-url": "^1.0.2",
"@sanity/vision": "^3.10.1",
"@vercel/analytics": "^0.1.11",
"@vercel/og": "^0.2.0",
"@zolplay/react": "^0.5.1",
"@zolplay/utils": "^1.3.4",
Expand Down
Loading

0 comments on commit 1685a44

Please sign in to comment.