Skip to content

Commit

Permalink
Merge pull request #69 from PalmaAnd/dev
Browse files Browse the repository at this point in the history
Added vercel analytics
  • Loading branch information
PalmaAnd authored Mar 11, 2024
2 parents 1bafda7 + 33a187c commit 4469461
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
26 changes: 26 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"@trpc/next": "^10.45.1",
"@trpc/react-query": "^10.45.1",
"@trpc/server": "^10.45.1",
"@vercel/analytics": "^1.2.2",
"@vercel/speed-insights": "^1.0.10",
"next": "^14.1.0",
"react": "18.2.0",
Expand Down
2 changes: 2 additions & 0 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { type AppType } from "next/app";
import { Inter } from "next/font/google";
import { SpeedInsights } from "@vercel/speed-insights/next";
import { Analytics } from "@vercel/analytics/react"

import { api } from "~/utils/api";

Expand All @@ -20,6 +21,7 @@ const MyApp: AppType = ({ Component, pageProps }) => {
<Header></Header>
<Component {...pageProps} />
<SpeedInsights />
<Analytics/>
<Footer></Footer>
</main>
);
Expand Down

0 comments on commit 4469461

Please sign in to comment.