mirror of
https://github.com/Xevion/xevion.dev.git
synced 2025-12-11 06:09:24 -06:00
Add @vercel/analytics
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user