1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/crabfit_ynh.git synced 2024-09-03 18:16:21 +02:00
crabfit_ynh/sources/patches/main-remove_vercel_analytics.patch
Antoine Lima 0e4e6fb6b8
Properly modify the upstream code using patches
(thanks to @oiseauroch <3)
2024-03-09 23:33:17 +01:00

31 lines
994 B
Diff

diff --git a/frontend/package.json b/frontend/package.json
index 486af7a..4537034 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -15,7 +15,6 @@
"@giraugh/tools": "^1.6.0",
"@js-temporal/polyfill": "^0.4.4",
"@microsoft/microsoft-graph-client": "^3.0.5",
- "@vercel/analytics": "^1.0.1",
"accept-language": "^3.0.18",
"chroma.ts": "^1.0.10",
"hue-map": "^1.0.0",
diff --git a/frontend/src/app/layout.tsx b/frontend/src/app/layout.tsx
index d4c1466..83a99c0 100644
--- a/frontend/src/app/layout.tsx
+++ b/frontend/src/app/layout.tsx
@@ -1,6 +1,5 @@
import { Metadata } from 'next'
import { Karla } from 'next/font/google'
-import { Analytics } from '@vercel/analytics/react'
import Egg from '/src/components/Egg/Egg'
import Settings from '/src/components/Settings/Settings'
@@ -44,7 +43,6 @@ const RootLayout = async ({ children }: { children: React.ReactNode }) => {
{children}
- <Analytics />
</body>
</html>
}