Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
📈 Identify users in posthog (#1252)
Luke Vellac57428df83e4
diff --git a/apps/web/src/contexts/posthog.tsx b/apps/web/src/contexts/posthog.tsxindex c721d2d5c..f82c0bfe3 100644--- a/apps/web/src/contexts/posthog.tsx+++ b/apps/web/src/contexts/posthog.tsx@@ -54,15 +54,13 @@ export function PostHogProvider(props: PostHogProviderProps) {usePostHogPageView();useMount(() => {- if (user.email) {- posthog.identify(user.id, {- email: user.email,- name: user.name,- tier: user.tier,- timeZone: user.timeZone,- locale: i18n.language,- });- }+ posthog.identify(user.id, {+ email: user.email,+ name: user.name,+ tier: user.tier,+ timeZone: user.timeZone,+ locale: i18n.language,+ });});return <Provider client={posthog}>{props.children}</Provider>;