Implement weight components

This commit is contained in:
2024-08-09 23:40:31 +02:00
parent e8da257bf1
commit 2f161bed79
6 changed files with 68 additions and 76 deletions

View File

@@ -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)