mirror of
https://github.com/Fluffy-Bean/TastyBites.git
synced 2025-05-20 18:34:53 +00:00
Fix basket loading and verifying on page load
Update go mod files
This commit is contained in:
parent
5bcebe2011
commit
7d8d19a6e9
4 changed files with 33 additions and 26 deletions
|
@ -130,6 +130,7 @@ export async function postVerifyCart(
|
|||
Object.entries(currentCartData).forEach(([key, value]) => {
|
||||
verifiedItems.forEach((verifiedItem: Item) => {
|
||||
if (verifiedItem.uuid === key) {
|
||||
console.log(verifiedItem, key);
|
||||
newCartData[key] = {
|
||||
uuid: value.uuid,
|
||||
amount: value.amount,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue