From 52933f83f2085406f54170e0d98c3ca789f7a2ba Mon Sep 17 00:00:00 2001 From: pm3512 Date: Tue, 26 Dec 2023 04:57:18 -0500 Subject: [PATCH] fixed middle name being set to first name --- src/components/form/ApplicationForm/BasicSection.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/form/ApplicationForm/BasicSection.tsx b/src/components/form/ApplicationForm/BasicSection.tsx index be8e590..7d27a95 100644 --- a/src/components/form/ApplicationForm/BasicSection.tsx +++ b/src/components/form/ApplicationForm/BasicSection.tsx @@ -112,7 +112,7 @@ const BasicSection = ({ if (fetchedProfile) { setDisplayName(basicFields?.displayName) setFirstName(basicFields?.firstName) - setMiddleName(basicFields?.firstName) + setMiddleName(basicFields?.middleName ?? "") if (basicFields?.age) { setAge(String(basicFields?.age)) }