From 4ca04747ca05d2e9ab5eaef498b93921e2c2751b Mon Sep 17 00:00:00 2001 From: Tanuj Date: Wed, 5 Aug 2026 16:06:03 +1000 Subject: [PATCH] Fix nok_first prefill to use nextOfKin.firstName in Register.tsx --- application/user-client/src/pages/Register.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/user-client/src/pages/Register.tsx b/application/user-client/src/pages/Register.tsx index 787529e6..eec9ca7e 100644 --- a/application/user-client/src/pages/Register.tsx +++ b/application/user-client/src/pages/Register.tsx @@ -110,7 +110,7 @@ export default function Register() { postcode: prefillProfile.postcode ?? '', mobile: prefillProfile.mobile ?? '', preferredContact: prefillProfile.preferredContact ?? ('MOBILE' as ContactMethod), - nok_first: prefillProfile.nextOfKin?.lastName ?? '', + nok_first: prefillProfile.nextOfKin?.firstName ?? '', nok_surname: prefillProfile.nextOfKin?.lastName ?? '', nok_email: prefillProfile.nextOfKin?.email ?? '', dependents: prefillProfile.dependents ?? [],