fix: toast error message updated

This commit is contained in:
Shubham Khunt
2023-07-22 18:50:54 +05:30
parent aca32655cd
commit b1a93de8db

View File

@@ -48,7 +48,7 @@ export function EditProductName({ environmentId }) {
className="w-full max-w-sm items-center"
onSubmit={handleSubmit((data) => {
if (currentProductName === previousProductName) {
return toast.error("Please change team name to update");
return toast.error("Please change product name to update");
}
triggerProductMutate(data)
.then(() => {