removed logs
This commit is contained in:
parent
ec8c086c14
commit
1d0ad7f222
1
main.js
1
main.js
@ -169,7 +169,6 @@ function updateFoodAmount(food, amount, kcalAmount, fatAmount, carbsAmount, suga
|
|||||||
sugarAmount.textContent = `${parseInt(sugar)}g`;
|
sugarAmount.textContent = `${parseInt(sugar)}g`;
|
||||||
proteinsAmount.textContent = `${parseInt(proteins)}g`;
|
proteinsAmount.textContent = `${parseInt(proteins)}g`;
|
||||||
alcAmount.textContent = `${parseInt(alc)}g`;
|
alcAmount.textContent = `${parseInt(alc)}g`;
|
||||||
console.log(`${food.name} has ${food.kcal}kcal/100${food.unit}`)
|
|
||||||
updateSummary();
|
updateSummary();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user