Skip to content

Commit 7428e6c

Browse files
Add @vercel/analytics
1 parent 46127a2 commit 7428e6c

File tree

3 files changed

+1554
-11654
lines changed

3 files changed

+1554
-11654
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
"start": "next start"
99
},
1010
"dependencies": {
11-
"axios": "0.21.1",
12-
"clipboard": "2.0.8",
11+
"@vercel/analytics": "^0.1.4",
12+
"axios": "1.1.3",
13+
"clipboard": "2.0.11",
1314
"next": "latest",
14-
"react": "latest",
15-
"react-dom": "latest",
16-
"react-dropzone": "11.3.4",
17-
"react-scripts": "4.0.3",
15+
"react": "18.2.0",
16+
"react-dom": "18.2.0",
17+
"react-dropzone": "14.2.3",
1818
"svg-spreact": "1.3.2"
1919
},
2020
"homepage": "http://svgsprit.es",

pages/_app.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1+
import { Analytics } from '@vercel/analytics/react'
12
import '../styles.css'
23

3-
// This default export is required in a new `pages/_app.js` file.
44
export default function MyApp({ Component, pageProps }) {
5-
return <Component {...pageProps} />
5+
return (
6+
<>
7+
<Component {...pageProps} />
8+
<Analytics />
9+
</>
10+
)
611
}

0 commit comments

Comments
 (0)