This commit is contained in:
Philippe Torrel
2026-07-23 14:56:15 +02:00
parent 702443e90e
commit c118892017
7 changed files with 199 additions and 13 deletions

View File

@@ -53,6 +53,7 @@ const ProductModel = () => {
};
const update = (product) => {
console.log(product);
const foundIdx = products.findIndex((obj) => {
return obj._id === product._id;
});