Skip to content

Commit

Permalink
Merge pull request #8 from pheralb/next
Browse files Browse the repository at this point in the history
⚒️ Add Vercel Analytics.
  • Loading branch information
pheralb authored Nov 25, 2022
2 parents a04dd55 + e1c7848 commit aa6709f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@
"@tanstack/react-query": "4.16.1",
"@trpc/client": "10.1.0",
"@trpc/next": "10.1.0",
"@trpc/server": "10.1.0",
"@trpc/react-query": "10.1.0",
"@trpc/server": "10.1.0",
"@uiball/loaders": "1.2.6",
"@vercel/analytics": "0.1.5",
"framer-motion": "7.6.10",
"nanoid": "4.0.0",
"next": "13.0.5",
Expand Down
2 changes: 2 additions & 0 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import type { AppType } from "next/dist/shared/lib/utils";
import type { Session } from "next-auth";
import { Analytics } from '@vercel/analytics/react';

// tRPC =>
import { trpc } from "@/utils/trpc";
Expand Down Expand Up @@ -46,6 +47,7 @@ const MyApp: AppType<{ session: Session | null }> = ({
</Layout>
</SessionProvider>
<Toaster position="bottom-center" reverseOrder={false} />
<Analytics />
</>
);
};
Expand Down

1 comment on commit aa6709f

@vercel
Copy link

@vercel vercel bot commented on aa6709f Nov 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

slug – ./

slug-git-main-pheralb.vercel.app
slug-pheralb.vercel.app
slug.vercel.app

Please sign in to comment.