Remove useless new people error toast
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
@@ -146,12 +146,6 @@ function NewPeopleViewContent() {
|
||||
navigate(`/organizations/${organizationId}/people`);
|
||||
},
|
||||
onError: (error) => {
|
||||
toast({
|
||||
title: "Error",
|
||||
description: error.message || "Failed to create person",
|
||||
variant: "destructive",
|
||||
});
|
||||
|
||||
const defaultErrorValues = {
|
||||
title: "Error",
|
||||
description: error.message || "Failed to save changes",
|
||||
|
||||
Reference in New Issue
Block a user