mirror of
https://github.com/Nezumi-2711/onedrive-vercel-index.git
synced 2026-09-22 13:38:45 +00:00
Vercel analytics support (#1035)
This commit is contained in:
@@ -2,6 +2,7 @@ import '@fortawesome/fontawesome-svg-core/styles.css'
|
||||
|
||||
import '../styles/globals.css'
|
||||
import '../styles/markdown-github.css'
|
||||
import { Analytics } from '@vercel/analytics/react';
|
||||
|
||||
// Require had to be used to prevent SSR failure in Next.js
|
||||
// Related discussion: https://github.com/FortAwesome/Font-Awesome/issues/19348
|
||||
@@ -123,6 +124,7 @@ function MyApp({ Component, pageProps }: AppProps) {
|
||||
return (
|
||||
<>
|
||||
<NextNProgress height={1} color="rgb(156, 163, 175, 0.9)" options={{ showSpinner: false }} />
|
||||
<Analytics />
|
||||
<Component {...pageProps} />
|
||||
</>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user