Adding Vercel analytics to project

This commit is contained in:
Frank
2023-10-02 22:24:49 -06:00
parent fe876bfc20
commit e5d2adc140
3 changed files with 11 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
import { wrapper } from "@/lib/redux";
import { Provider } from "react-redux";
import type { AppProps } from "next/app";
import { Analytics } from "@vercel/analytics/react";
import "@/styles/globals.css";
import { config } from "@fortawesome/fontawesome-svg-core";
@@ -14,6 +15,7 @@ export default function App({ Component, ...rest }: AppProps) {
<Provider store={store}>
<Component {...props.pageProps} />
<Loading />
<Analytics />
</Provider>
);
}