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`);
|
navigate(`/organizations/${organizationId}/people`);
|
||||||
},
|
},
|
||||||
onError: (error) => {
|
onError: (error) => {
|
||||||
toast({
|
|
||||||
title: "Error",
|
|
||||||
description: error.message || "Failed to create person",
|
|
||||||
variant: "destructive",
|
|
||||||
});
|
|
||||||
|
|
||||||
const defaultErrorValues = {
|
const defaultErrorValues = {
|
||||||
title: "Error",
|
title: "Error",
|
||||||
description: error.message || "Failed to save changes",
|
description: error.message || "Failed to save changes",
|
||||||
|
|||||||
Reference in New Issue
Block a user