diff --git a/sites/partners/src/components/listings/PaperListingForm/sections/LeasingAgent.tsx b/sites/partners/src/components/listings/PaperListingForm/sections/LeasingAgent.tsx index 7b3d43a0d6..bb8b9dee3d 100644 --- a/sites/partners/src/components/listings/PaperListingForm/sections/LeasingAgent.tsx +++ b/sites/partners/src/components/listings/PaperListingForm/sections/LeasingAgent.tsx @@ -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") } }