Skip to content

Commit

Permalink
fix: Correção nas métricas de análises da Vercel
Browse files Browse the repository at this point in the history
  • Loading branch information
Jr Gouveia committed Aug 16, 2023
1 parent 045268f commit 128272f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import { Analytics } from "@vercel/analytics/react";
import type { AppProps } from "next/app";
import "../styles/globals.css";

function MyApp({ Component, pageProps }: AppProps) {
return (
<>
<Component {...pageProps} />
<Analytics />
</>
);
}
Expand Down
2 changes: 2 additions & 0 deletions pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Analytics } from "@vercel/analytics/react";
import {
ParsedEvent,
ReconnectInterval,
Expand Down Expand Up @@ -236,6 +237,7 @@ const Home: NextPage = () => {
</div>
</main>
<Footer />
<Analytics />
</div>
);
};
Expand Down

0 comments on commit 128272f

Please sign in to comment.