Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
📈 Limit calls to identify
Luke Vellad76d3f8b7856
diff --git a/apps/web/src/components/user-provider.tsx b/apps/web/src/components/user-provider.tsxindex a0144779d..e8161a478 100644--- a/apps/web/src/components/user-provider.tsx+++ b/apps/web/src/components/user-provider.tsx@@ -66,7 +66,7 @@ export const UserProvider = (props: { children?: React.ReactNode }) => {const tier = isGuest ? "guest" : subscription?.active ? "pro" : "hobby";React.useEffect(() => {- if (user) {+ if (user?.email) {posthog?.identify(user.id, {email: user.email,name: user.name,