feat: add vercel analytics

This commit is contained in:
Seanghay Yath
2023-03-13 10:18:56 +07:00
parent b7ddbb1765
commit 4b10d00ebd
3 changed files with 21 additions and 1 deletions
+5 -1
View File
@@ -1,7 +1,11 @@
import '../styles/globals.css'
import { Analytics } from '@vercel/analytics/react';
function MyApp({ Component, pageProps }) {
return <Component {...pageProps} />
return (<>
<Component {...pageProps} />
<Analytics />
</>)
}
export default MyApp