Add @vercel/analytics

This commit is contained in:
Xevion
2022-12-28 20:27:56 -06:00
parent 253930aac2
commit fc80f00fb0
3 changed files with 14 additions and 4 deletions

View File

@@ -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);