Skip to content

Commit

Permalink
fix: consistent naming
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinBuyck committed Dec 23, 2024
1 parent 7e96136 commit 1e0433f
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,10 @@ const ApplicationForm = ({ listingId, editMode, application }: ApplicationFormPr

useEffect(() => {
if (application?.householdMember) {
const orderedMembers = application.householdMember.sort((a, b) => a.orderId - b.orderId)
setHouseholdMembers(orderedMembers)
const orderedHouseholdMembers = application.householdMember.sort(
(a, b) => a.orderId - b.orderId
)
setHouseholdMembers(orderedHouseholdMembers)
}
}, [application, setHouseholdMembers])

Expand Down

0 comments on commit 1e0433f

Please sign in to comment.