From c821f15a143f489bc7ac1a6c19137fc17bc1072d Mon Sep 17 00:00:00 2001 From: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Date: Thu, 22 Aug 2024 19:50:41 +0530 Subject: [PATCH] fix: error message when email exists (#16022) * fix: error message when email exists * chore: change postion of error --------- Co-authored-by: Hariom Balhara --- apps/web/pages/signup.tsx | 17 ++++++++--------- packages/lib/server/username.ts | 2 +- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/apps/web/pages/signup.tsx b/apps/web/pages/signup.tsx index dc1694222e..dc499a16e7 100644 --- a/apps/web/pages/signup.tsx +++ b/apps/web/pages/signup.tsx @@ -321,15 +321,6 @@ export default function Signup({ {/* Left side */}
- {/* Header */} - {errors.apiError && ( - - )}

{IS_CALCOM ? t("create_your_calcom_account") : t("create_your_account")} @@ -408,6 +399,14 @@ export default function Signup({ onChange={() => handleConsentChange(COOKIE_CONSENT)} description={t("cookie_consent_checkbox")} /> + {errors.apiError && ( + + )}