diff --git a/src/Components/Popups/ConfirmReversalPopups.jsx b/src/Components/Popups/ConfirmReversalPopups.jsx index 1eded5b..5d03344 100644 --- a/src/Components/Popups/ConfirmReversalPopups.jsx +++ b/src/Components/Popups/ConfirmReversalPopups.jsx @@ -27,7 +27,7 @@ import ReactQuill from "react-quill"; export const conformModalSchema = yup.object().shape({ comment: yup .string() - .min(2, "Minimum length should be 150 characters.") + .min(2, "Minimum length should be 2 characters.") .max(150, "Maximum length should be 150 characters.") .required("Comment is required"), subject: yup.string().notRequired(), diff --git a/src/Components/Popups/InitiateReversalPopups.jsx b/src/Components/Popups/InitiateReversalPopups.jsx index 6e4eba0..c67c665 100644 --- a/src/Components/Popups/InitiateReversalPopups.jsx +++ b/src/Components/Popups/InitiateReversalPopups.jsx @@ -23,7 +23,7 @@ import { useForm } from "react-hook-form"; export const conformModalSchema = yup.object().shape({ comment: yup .string() - .min(2, "Minimum length should be 150 characters.") + .min(2, "Minimum length should be 2 characters.") .max(150, "Maximum length should be 150 characters.") .required("Comment is required"), }); diff --git a/src/Components/Popups/RejectReversalPopups.jsx b/src/Components/Popups/RejectReversalPopups.jsx index e025439..ca3f5c9 100644 --- a/src/Components/Popups/RejectReversalPopups.jsx +++ b/src/Components/Popups/RejectReversalPopups.jsx @@ -23,7 +23,7 @@ import { useForm } from "react-hook-form"; export const conformModalSchema = yup.object().shape({ comment: yup .string() - .min(2, "Minimum length should be 150 characters.") + .min(2, "Minimum length should be 2 characters.") .max(150, "Maximum length should be 150 characters.") .required("Comment is required"), });