diff --git a/apps/app/app/layout.tsx b/apps/app/app/layout.tsx index 67ddbd4..c1d8ddb 100644 --- a/apps/app/app/layout.tsx +++ b/apps/app/app/layout.tsx @@ -25,25 +25,25 @@ async function RootLayout({ return ( - - - - -
- - - {children} -
-
-
- + + + +
+ + + {children} +
+
+
+
); diff --git a/apps/app/hooks/posthog.tsx b/apps/app/hooks/posthog.tsx index 2728dfe..e4ce0e7 100644 --- a/apps/app/hooks/posthog.tsx +++ b/apps/app/hooks/posthog.tsx @@ -1,17 +1,17 @@ -'use client' -import posthog from 'posthog-js' -import { PostHogProvider } from 'posthog-js/react' +"use client"; +import posthog from "posthog-js"; +import { PostHogProvider } from "posthog-js/react"; -if (typeof window !== 'undefined') { +if (typeof window !== "undefined") { posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY!, { api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST!, - person_profiles: 'identified_only', // or 'always' to create profiles for anonymous users as well - }) + person_profiles: "identified_only", // or 'always' to create profiles for anonymous users as well + }); } export function PosthogProvider({ children, }: Readonly<{ children: React.ReactNode; }>) { - return {children} -} \ No newline at end of file + return {children}; +} diff --git a/apps/www/app/layout.tsx b/apps/www/app/layout.tsx index b4eafda..b75e5d9 100644 --- a/apps/www/app/layout.tsx +++ b/apps/www/app/layout.tsx @@ -17,20 +17,20 @@ export default function RootLayout({ return ( - - -
- {children} -
-
- + +
+ {children} +
+
+
); diff --git a/apps/www/hooks/posthog.tsx b/apps/www/hooks/posthog.tsx index 2728dfe..e4ce0e7 100644 --- a/apps/www/hooks/posthog.tsx +++ b/apps/www/hooks/posthog.tsx @@ -1,17 +1,17 @@ -'use client' -import posthog from 'posthog-js' -import { PostHogProvider } from 'posthog-js/react' +"use client"; +import posthog from "posthog-js"; +import { PostHogProvider } from "posthog-js/react"; -if (typeof window !== 'undefined') { +if (typeof window !== "undefined") { posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY!, { api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST!, - person_profiles: 'identified_only', // or 'always' to create profiles for anonymous users as well - }) + person_profiles: "identified_only", // or 'always' to create profiles for anonymous users as well + }); } export function PosthogProvider({ children, }: Readonly<{ children: React.ReactNode; }>) { - return {children} -} \ No newline at end of file + return {children}; +}