diff --git a/package.json b/package.json index 7ee12b16..6f2638e3 100644 --- a/package.json +++ b/package.json @@ -88,6 +88,7 @@ "@types/express": "^4.17.21", "@types/lodash": "^4.17.6", "@uiw/react-md-editor": "^4.0.4", + "@vercel/speed-insights": "^1.0.12", "@webscopeio/react-textarea-autocomplete": "^4.9.2", "@xmtp/frames-validator": "^0.6.0", "@xmtp/proto": "^3.61.1", diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index 5e70f26c..28b9fe5a 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -6,6 +6,7 @@ import type { NextPage } from "next"; import Head from "next/head"; import Providers from "@/common/providers"; import Sidebar from "@/common/components/organisms/Sidebar"; +import { SpeedInsights } from "@vercel/speed-insights/next"; export type NextPageWithLayout
= NextPage
& {
getLayout?: (page: React.ReactElement) => React.ReactNode;
@@ -36,6 +37,7 @@ export default function MyApp({ Component, pageProps }: AppPropsWithLayout) {
return (
<>
+