From 987ef644f87401f6b3252706a7160fd52e57a279 Mon Sep 17 00:00:00 2001 From: PARNITA-SINGH Date: Sat, 6 Jun 2026 01:36:23 +0530 Subject: [PATCH] fix: resolve menu rendering, syntax errors, and duplicate UI bugs --- js/main.js | 71 +++---------------------------------------- js/recommendations.js | 25 ++++++++++++--- menu.html | 1 + 3 files changed, 27 insertions(+), 70 deletions(-) diff --git a/js/main.js b/js/main.js index 0db96c1..d974909 100644 --- a/js/main.js +++ b/js/main.js @@ -20,9 +20,6 @@ function setupCartManager() { cartManager.subscribe((items) => { cart = [...items]; }); - - // Validate cart integrity - cartManager.validate(); } async function loadMenuData() { @@ -325,27 +322,7 @@ function createCard(item, highlightQuery = "") { ${outOfStockBadge} - - + ${formatPrice(item.price)}