mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-20 19:30:41 -05:00
fix: removed error toast
This commit is contained in:
@@ -41,9 +41,6 @@ export default function EditTeamName({ environmentId }) {
|
||||
<form
|
||||
className="w-full max-w-sm items-center"
|
||||
onSubmit={handleSubmit((data) => {
|
||||
if (isTeamNameInputEmpty) {
|
||||
return toast.error("Team name should not be empty");
|
||||
}
|
||||
if (currentTeamName === previousTeamName) {
|
||||
return toast.error("Please change team name to update");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user