mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-19 02:10:33 -05:00
fix:removed toast
This commit is contained in:
@@ -47,9 +47,6 @@ export function EditProductName({ environmentId }) {
|
||||
<form
|
||||
className="w-full max-w-sm items-center"
|
||||
onSubmit={handleSubmit((data) => {
|
||||
if (currentProductName === previousProductName) {
|
||||
return toast.error("Please change product name to update");
|
||||
}
|
||||
triggerProductMutate(data)
|
||||
.then(() => {
|
||||
toast.success("Product name updated successfully.");
|
||||
|
||||
Reference in New Issue
Block a user