Skip to content

Commit

Permalink
fixed middle name being set to first name
Browse files Browse the repository at this point in the history
  • Loading branch information
pm3512 committed Dec 26, 2023
1 parent 25b93c0 commit 52933f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/form/ApplicationForm/BasicSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit 52933f8

Please sign in to comment.