mirror of
https://github.com/Xevion/xevion.dev.git
synced 2025-12-05 23:16:57 -06:00
Add @vercel/analytics
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
"@trpc/next": "^10.0.0",
|
||||
"@trpc/react-query": "^10.0.0",
|
||||
"@trpc/server": "^10.0.0",
|
||||
"@vercel/analytics": "^0.1.6",
|
||||
"next": "13.0.2",
|
||||
"plaiceholder": "^2.5.0",
|
||||
"react": "18.2.0",
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
import { type AppType } from "next/app";
|
||||
import {type AppType} from "next/app";
|
||||
|
||||
import { trpc } from "../utils/trpc";
|
||||
import {trpc} from "../utils/trpc";
|
||||
|
||||
import "../styles/globals.scss";
|
||||
import {Analytics} from "@vercel/analytics/react";
|
||||
|
||||
const MyApp: AppType = ({ Component, pageProps }) => {
|
||||
return <Component {...pageProps} />;
|
||||
const MyApp: AppType = ({Component, pageProps}) => {
|
||||
return <>
|
||||
<Component {...pageProps} />
|
||||
<Analytics/>
|
||||
</>;
|
||||
};
|
||||
|
||||
export default trpc.withTRPC(MyApp);
|
||||
|
||||
@@ -361,6 +361,11 @@
|
||||
"@typescript-eslint/types" "5.46.1"
|
||||
eslint-visitor-keys "^3.3.0"
|
||||
|
||||
"@vercel/analytics@^0.1.6":
|
||||
version "0.1.6"
|
||||
resolved "https://registry.yarnpkg.com/@vercel/analytics/-/analytics-0.1.6.tgz#a1ce184168d8f5ec02e35ec954d84ee68ea01f4b"
|
||||
integrity sha512-zNd5pj3iDvq8IMBQHa1YRcIteiw6ZiPB8AsONHd8ieFXlNpLqhXfIYnf4WvTfZ7S1NSJ++mIM14aJnNac/VMXQ==
|
||||
|
||||
acorn-jsx@^5.3.2:
|
||||
version "5.3.2"
|
||||
resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937"
|
||||
|
||||
Reference in New Issue
Block a user