From code audit, batch of low-severity fixes:
frontend/src/pages/Profile.jsx:~325 — finally { if (!error) ... } references error not in scope → ReferenceError / unhandled rejection on every account-delete run; modal reset never runs. Fix: local let succeeded=false flag.
frontend/src/pages/Login.jsx:~37-45 — "Remember me for 30 days" is passed via options.data, which signInWithPassword ignores. Fix: remove the checkbox, or implement via auth.storage sessionStorage/localStorage switch in supabaseClient.js.
frontend/src/App.jsx:~192-193 — loading screen uses bg-dark-primary, text-matrix-green-400 which don't exist in tailwind.config.js. Fix: bg-black / text-primary-500.
frontend/src/pages/ChangePassword.jsx:~87-160 — still the old light theme (purple gradient, bg-white, text-gray-*). Restyle with .card / .input to match the dark app. Minor: MealList.jsx:~730 text-gray-500.
Acceptance: lint + tests green; Profile delete flow test covers the finally path.
From code audit, batch of low-severity fixes:
frontend/src/pages/Profile.jsx:~325—finally { if (!error) ... }referenceserrornot in scope → ReferenceError / unhandled rejection on every account-delete run; modal reset never runs. Fix: locallet succeeded=falseflag.frontend/src/pages/Login.jsx:~37-45— "Remember me for 30 days" is passed viaoptions.data, whichsignInWithPasswordignores. Fix: remove the checkbox, or implement viaauth.storagesessionStorage/localStorage switch insupabaseClient.js.frontend/src/App.jsx:~192-193— loading screen usesbg-dark-primary,text-matrix-green-400which don't exist intailwind.config.js. Fix:bg-black/text-primary-500.frontend/src/pages/ChangePassword.jsx:~87-160— still the old light theme (purple gradient,bg-white,text-gray-*). Restyle with.card/.inputto match the dark app. Minor:MealList.jsx:~730text-gray-500.Acceptance: lint + tests green; Profile delete flow test covers the finally path.