Skip to content

Commit

Permalink
fix: replaces errors.leasingAgentAddress with errors.listingsLeasingA…
Browse files Browse the repository at this point in the history
…gentAddress (bloom-housing#4541)
  • Loading branch information
adriencyberspace committed Jan 22, 2025
1 parent 6854a27 commit 4051739
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const LeasingAgent = () => {
const [phoneField, setPhoneField] = useState(leasingAgentPhoneField)

const getErrorMessage = (fieldKey: string) => {
if (fieldHasError(errors?.leasingAgentAddress) && !getValues(fieldKey)) {
if (fieldHasError(errors?.listingsLeasingAgentAddress) && !getValues(fieldKey)) {
return t("errors.partialAddress")
}
}
Expand Down

0 comments on commit 4051739

Please sign in to comment.