Skip to content

Commit

Permalink
Added Speed Insights
Browse files Browse the repository at this point in the history
  • Loading branch information
j-paterson committed Jul 30, 2024
1 parent 54e6805 commit af7cf28
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 2 additions & 0 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<P = any, IP = P> = NextPage<P, IP> & {
getLayout?: (page: React.ReactElement) => React.ReactNode;
Expand Down Expand Up @@ -36,6 +37,7 @@ export default function MyApp({ Component, pageProps }: AppPropsWithLayout) {

return (
<>
<SpeedInsights />
<Head>
<title>Nounspace</title>
</Head>
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5708,6 +5708,11 @@
satori "0.10.9"
yoga-wasm-web "0.3.3"

"@vercel/speed-insights@^1.0.12":
version "1.0.12"
resolved "https://registry.yarnpkg.com/@vercel/speed-insights/-/speed-insights-1.0.12.tgz#71c2edffdedae98d34e306d7b0a573e6816898b4"
integrity sha512-ZGQ+a7bcfWJD2VYEp2R1LHvRAMyyaFBYytZXsfnbOMkeOvzGNVxUL7aVUvisIrTZjXTSsxG45DKX7yiw6nq2Jw==

"@videojs/[email protected]":
version "3.12.1"
resolved "https://registry.yarnpkg.com/@videojs/http-streaming/-/http-streaming-3.12.1.tgz#0d924879bc395e66e1d112698e0f54920ffae1d7"
Expand Down

0 comments on commit af7cf28

Please sign in to comment.