Skip to content

Commit 05491af

Browse files
committed
Remove unused @vercel/analytics
1 parent 51dba84 commit 05491af

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"private": true,
44
"version": "1.0.0",
55
"description": "Web Performance Snippets",
6-
"main": "index.js",
76
"scripts": {
87
"build": "npx next build",
98
"test": "echo \"Error: no test specified\" && exit 1"
@@ -17,7 +16,6 @@
1716
"author": "Joan Leon | @nucliweb",
1817
"license": "MIT",
1918
"dependencies": {
20-
"@vercel/analytics": "^1.0.1",
2119
"next": "^13.4.4",
2220
"next-cloudinary": "^4.12.0",
2321
"nextra": "^2.6.2",

pages/_app.js

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
import { Analytics } from '@vercel/analytics/react';
2-
31
function WebPerfSnippets({ Component, pageProps }) {
4-
return (
5-
<>
6-
<Component {...pageProps} />
7-
<Analytics />
8-
</>
9-
);
2+
return <Component {...pageProps} />;
103
}
11-
4+
125
export default WebPerfSnippets;

0 commit comments

Comments
 (0)