Remove useless new people error toast

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Sacha Al Himdani
2025-05-25 13:55:52 -07:00
parent c362886622
commit 20cb74675c

View File

@@ -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",