Skip to content

Commit

Permalink
Disable push to analytics during dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchernchong committed Nov 22, 2024
1 parent 027db41 commit 09469f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const RootLayout = async ({
</main>
</SidebarProvider>
{/*<Footer />*/}
<Analytics />
{process.env.NODE_ENV === "production" && <Analytics />}
</body>
<Script
defer
Expand Down

0 comments on commit 09469f7

Please sign in to comment.