Skip to content

Commit

Permalink
✨ feat : only for production
Browse files Browse the repository at this point in the history
  • Loading branch information
seondal committed Nov 6, 2023
1 parent 1c16d5c commit 3c1e3c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Analytics/Analytics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ export default function Analytics() {
}
}, [pathname, searchParams]);

// if (process.env.NEXT_PUBLIC_VERCEL_ENV !== 'production') {
// return null;
// }
if (process.env.NEXT_PUBLIC_VERCEL_ENV !== 'production') {
return null;
}

return (
<>
Expand Down

0 comments on commit 3c1e3c0

Please sign in to comment.