Skip to content

Commit 58c4046

Browse files
authored
Add vercel speed insights (#58)
Co-authored-by: Chris Tate <[email protected]>
1 parent 3dfab34 commit 58c4046

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

app/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import type { Metadata, Viewport } from "next";
22
import "./globals.css";
3+
import { SpeedInsights } from "@vercel/speed-insights/next";
34
import { ReactFlowProvider } from "@xyflow/react";
45
import { Provider } from "jotai";
56
import type { ReactNode } from "react";
@@ -83,6 +84,7 @@ const RootLayout = async ({ children }: RootLayoutProps) => {
8384
</AuthProvider>
8485
</Provider>
8586
</ThemeProvider>
87+
<SpeedInsights />
8688
</body>
8789
</html>
8890
);

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"@radix-ui/react-dialog": "^1.1.15",
2727
"@slack/web-api": "^7.12.0",
2828
"@vercel/sdk": "^1.17.1",
29+
"@vercel/speed-insights": "^1.2.0",
2930
"@xyflow/react": "^12.9.2",
3031
"ai": "^5.0.102",
3132
"better-auth": "^1.3.34",

pnpm-lock.yaml

Lines changed: 31 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)