Skip to content

Commit

Permalink
Add vercel analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelfan committed Dec 13, 2023
1 parent 62bfd14 commit 6475116
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
14 changes: 14 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 @@ -27,6 +27,7 @@
"@tiptap/react": "^2.1.13",
"@tiptap/starter-kit": "^2.1.13",
"@tiptap/suggestion": "^2.1.13",
"@vercel/analytics": "^1.1.1",
"browser-image-compression": "^2.0.2",
"emoji-mart": "^5.5.2",
"jwt-decode": "^4.0.0",
Expand Down
6 changes: 5 additions & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { Metadata } from "next";
import { Analytics } from "@vercel/analytics/react";
import { Inter } from "next/font/google";
import "../styles/globals.css";
import SessionProvider from "./providers/session";
Expand Down Expand Up @@ -26,10 +27,13 @@ export default async function RootLayout({
<body className={`${inter.variable}`}>
<SessionProvider session={session}>
<QueryProvider>
<ComposerProvider>{children}</ComposerProvider>
<ComposerProvider>
{children}
</ComposerProvider>
</QueryProvider>
<ToastProvider />
</SessionProvider>
<Analytics />
</body>
</html>
);
Expand Down

0 comments on commit 6475116

Please sign in to comment.