Implement weight components
This commit is contained in:
@@ -47,11 +47,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
foodStore.update((value) => {
|
||||
const updatedValue = [res.data, ...value];
|
||||
console.log("Updated items:", updatedValue.length);
|
||||
return updatedValue;
|
||||
});
|
||||
foodStore.update((value) => [res.data, ...value]);
|
||||
}
|
||||
|
||||
if (!per100Edited)
|
||||
|
Reference in New Issue
Block a user