fix: invalid date toast message updated (#633)

This commit is contained in:
Anmol Singh Bhatia 2023-03-31 01:40:06 +05:30 committed by GitHub
parent 5d0533a44f
commit 8fcfebf0fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -153,7 +153,7 @@ export const CycleForm: React.FC<Props> = ({ handleFormSubmit, handleClose, stat
setToastAlert({
type: "error",
title: "Error!",
message: "You have enter invalid date.",
message: "The date you have entered is invalid. Please check and enter a valid date.",
});
}
}
@ -184,7 +184,7 @@ export const CycleForm: React.FC<Props> = ({ handleFormSubmit, handleClose, stat
setToastAlert({
type: "error",
title: "Error!",
message: "You have enter invalid date.",
message: "The date you have entered is invalid. Please check and enter a valid date.",
});
}
}

View File

@ -205,7 +205,7 @@ export const CycleDetailsSidebar: React.FC<Props> = ({
setToastAlert({
type: "error",
title: "Error!",
message: "You have enter invalid date.",
message: "The date you have entered is invalid. Please check and enter a valid date.",
});
}
}
@ -268,7 +268,7 @@ export const CycleDetailsSidebar: React.FC<Props> = ({
setToastAlert({
type: "error",
title: "Error!",
message: "You have enter invalid date.",
message: "The date you have entered is invalid. Please check and enter a valid date.",
});
}
}

View File

@ -119,7 +119,7 @@ export const ModuleForm: React.FC<Props> = ({ handleFormSubmit, handleClose, sta
setToastAlert({
type: "error",
title: "Error!",
message: "You have enter invalid date.",
message: "The date you have entered is invalid. Please check and enter a valid date.",
});
}
}
@ -144,7 +144,7 @@ export const ModuleForm: React.FC<Props> = ({ handleFormSubmit, handleClose, sta
setToastAlert({
type: "error",
title: "Error!",
message: "You have enter invalid date.",
message: "The date you have entered is invalid. Please check and enter a valid date.",
});
}
}