Skip to content

Commit 5b34a4e

Browse files
committed
πŸ§‘πŸ»β€πŸ’» Added Speed Insights Vercel
1 parent 7a1058d commit 5b34a4e

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

β€Žpackage.jsonβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"@testing-library/react": "^13.4.0",
88
"@testing-library/user-event": "^13.5.0",
99
"@vercel/analytics": "^1.2.2",
10+
"@vercel/speed-insights": "^1.1.0",
1011
"dotenv": "^16.3.1",
1112
"email-validator": "^2.0.4",
1213
"flag-icons": "^7.2.3",

β€Ž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.

β€Žsrc/index.jsβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import App from "./App";
1515
import { BrowserRouter } from "react-router-dom";
1616
import { I18nextProvider } from "react-i18next";
1717
import i18n from "./i18n"; // Import the i18n configuration
18+
import { SpeedInsights } from "@vercel/speed-insights/react";
1819

1920
const root = ReactDOM.createRoot(document.getElementById("root"));
2021
root.render(
@@ -23,6 +24,7 @@ root.render(
2324
<I18nextProvider i18n={i18n}>
2425
<App />
2526
<Analytics />
27+
<SpeedInsights />
2628
</I18nextProvider>
2729
</BrowserRouter>
2830
</React.StrictMode>

0 commit comments

Comments
Β (0)