diff --git a/src/app/common/components/ContactForm/ContactForm.component.tsx b/src/app/common/components/ContactForm/ContactForm.component.tsx index 25a584515..2b2fe7d8d 100644 --- a/src/app/common/components/ContactForm/ContactForm.component.tsx +++ b/src/app/common/components/ContactForm/ContactForm.component.tsx @@ -49,7 +49,7 @@ const ContactForm = forwardRef((customClass: Props, ref) => { successMessage(); }) .catch((error) => { - if (error === 429) { + if (error.status === 429) { errorMessage(MESSAGE_LIMIT); } else {