Fix/cart back navigation #12

Merged
bermudalamb merged 2 commits from fix/cart-back-navigation into main 2026-08-14 15:37:28 -05:00
Showing only changes of commit 1421694a0c - Show all commits
+1
View File
@@ -57,6 +57,7 @@ export default function Cart() {
useEffect(() => { if (customer) loadAll(); }, [customer]); useEffect(() => { if (customer) loadAll(); }, [customer]);
// compute the total
const total = items.reduce((sum, i) => sum + i.price_cents, 0); const total = items.reduce((sum, i) => sum + i.price_cents, 0);
async function handleRemove(itemId: number) { async function handleRemove(itemId: number) {