Skip to content

Commit

Permalink
fix(my-pages): Health - Organ donation string mix (#17326)
Browse files Browse the repository at this point in the history
  • Loading branch information
disaerna authored Dec 20, 2024
1 parent fa5f279 commit ef42500
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ const OrganDonation = () => {
iAmOrganDonorWithExceptionsText: formatMessage(
m.iAmOrganDonorWithExceptionsText,
),
iAmNotOrganDonorText: formatMessage(m.iAmOrganDonorText),
iAmOrganDonorText: formatMessage(m.iAmNotOrganDonorText),
iAmNotOrganDonorText: formatMessage(m.iAmNotOrganDonorText),
iAmOrganDonorText: formatMessage(m.iAmOrganDonorText),
iAmOrganDonorWithExceptions: formatMessage(m.iAmOrganDonorWithExceptions),
iAmOrganDonor: formatMessage(m.iAmOrganDonor),
iAmNotOrganDonor: formatMessage(m.iAmNotOrganDonor),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const OrganRegistrationForm = () => {
const formData = new FormData(e.currentTarget)
const data = Object.fromEntries(formData.entries())
const idKey = 'selected-limitations-'
const otherLimitations = data['otherLimitatons'].toString()
const otherLimitations = data['otherLimitatons']?.toString()
const limitations = Object.keys(data)
.filter((key) => key.includes(idKey))
.map((key) => key.replace(idKey, '').toLowerCase())
Expand Down

0 comments on commit ef42500

Please sign in to comment.