Skip to content

Commit d6d52a0

Browse files
committed
fix: correct conditional check for development environment in PostHogProvider
1 parent 2058abc commit d6d52a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/posthog-provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { PostHogProvider as PHProvider } from "posthog-js/react";
66

77
export default function PostHogProvider({ children }: { children: React.ReactNode }) {
88
useEffect(() => {
9-
// if (process.env.NODE_ENV === "development") return;
9+
if (process.env.NODE_ENV === "development") return;
1010

1111
if (typeof window === "undefined") return;
1212

0 commit comments

Comments
 (0)