Skip to content

Commit

Permalink
add Vercel SpeedInsights
Browse files Browse the repository at this point in the history
  • Loading branch information
maaaathis committed Dec 10, 2023
1 parent f94ff42 commit c481f96
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { SpeedInsights } from '@vercel/speed-insights/next';
import { Rubik } from 'next/font/google';
import type { FC, ReactElement, ReactNode } from 'react';

Expand Down Expand Up @@ -47,6 +48,7 @@ const RootLayout: FC<RootLayoutProps> = ({ children }): ReactElement => {
</main>
</div>
</Providers>
<SpeedInsights />
</body>
</html>
);
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"@radix-ui/react-tooltip": "^1.0.7",
"@types/punycode": "^2.1.3",
"@types/validator": "^13.11.7",
"@vercel/speed-insights": "^1.0.1",
"autoprefixer": "^10.4.16",
"bottleneck": "^2.19.5",
"class-variance-authority": "^0.7.0",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3939,6 +3939,11 @@
resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406"
integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==

"@vercel/speed-insights@^1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@vercel/speed-insights/-/speed-insights-1.0.1.tgz#ea801f639594cbd5121d80a0ea1103e08ac5edc9"
integrity sha512-cm8KTTsDgS1AbWsgIEZuMoyPUjclzeqJihyLp0tnA21B/x9iTE8hu2S5zM+/DBzihuHxWL1dx9pCWk22ctMFWQ==

acorn-jsx@^5.3.2:
version "5.3.2"
resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937"
Expand Down

0 comments on commit c481f96

Please sign in to comment.