Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🐛 Use correct syntax for passing person properties (#1232)
Luke Vellac524c53cc9f2
diff --git a/apps/web/src/app/[locale]/(auth)/register/register-page.tsx b/apps/web/src/app/[locale]/(auth)/register/register-page.tsxindex 0c8667436..2fdbc808d 100644--- a/apps/web/src/app/[locale]/(auth)/register/register-page.tsx+++ b/apps/web/src/app/[locale]/(auth)/register/register-page.tsx@@ -71,10 +71,8 @@ export const RegisterForm = () => {queryClient.invalidate();posthog?.identify(res.user.id, {- $set: {- email: res.user.email,- name: res.user.name,- },+ email: res.user.email,+ name: res.user.name,});signIn("registration-token", {diff --git a/apps/web/src/app/[locale]/auth/login/login-page.tsx b/apps/web/src/app/[locale]/auth/login/login-page.tsxindex f5f8d9ecc..db33f7161 100644--- a/apps/web/src/app/[locale]/auth/login/login-page.tsx+++ b/apps/web/src/app/[locale]/auth/login/login-page.tsx@@ -29,10 +29,8 @@ export const LoginPage = ({ magicLink, email }: PageProps) => {if (updatedSession) {// identify the user in posthogposthog?.identify(updatedSession.user.id, {- $set: {- email: updatedSession.user.email,- name: updatedSession.user.name,- },+ email: updatedSession.user.email,+ name: updatedSession.user.name,});await trpcUtils.invalidate();