From 6993dd3eb8d1969fd22356a0add59bc849c3661b Mon Sep 17 00:00:00 2001 From: smanylov Date: Thu, 5 Feb 2026 17:37:27 +0700 Subject: [PATCH] fix registration company-name error --- src/app/ui/forms/register-form.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/ui/forms/register-form.tsx b/src/app/ui/forms/register-form.tsx index 7b57edb..7234cb0 100644 --- a/src/app/ui/forms/register-form.tsx +++ b/src/app/ui/forms/register-form.tsx @@ -120,7 +120,7 @@ export default function RegisterForm() { function switchRegistrationTypeHandler(e: React.MouseEvent, type: 'b2c' | 'b2b') { e.preventDefault(); setAccountType(type); - if (formState && type === 'b2c') { + if (formState) { setFormState({ ...formState, previousState: {