Sessions 5-7a: 955 tests, deployment ready

This commit is contained in:
Kev
2026-06-08 18:35:13 -04:00
parent 06b82624a2
commit 1fa04dc776
371 changed files with 49366 additions and 955 deletions
+19
View File
@@ -0,0 +1,19 @@
'use client';
import { useEffect } from 'react';
import { usePathname } from 'next/navigation';
import { initAnalytics, trackPageView } from '@/lib/analytics';
export default function PostHogProvider({ children }: { children: React.ReactNode }) {
const pathname = usePathname();
useEffect(() => {
initAnalytics();
}, []);
useEffect(() => {
if (pathname) trackPageView(pathname);
}, [pathname]);
return <>{children}</>;
}