Fix vendor creation bug
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
@@ -408,6 +408,13 @@ function ListVendorContent({
|
||||
"The vendor has been added successfully",
|
||||
});
|
||||
},
|
||||
onError: (error) => {
|
||||
toast({
|
||||
title: "Error",
|
||||
description: error.message || "Failed to create vendor",
|
||||
variant: "destructive",
|
||||
});
|
||||
}
|
||||
});
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user