fix: add back-to-shop navigation on cart page
SonarQube Analysis / sonarqube (pull_request) Successful in 3m55s
Tests / backend-unit (pull_request) Successful in 39s
Tests / backend-integration (pull_request) Failing after 1m6s
Tests / frontend-e2e (pull_request) Failing after 1m5s

This commit is contained in:
2026-08-14 15:36:30 -05:00
parent 86f48ed3f8
commit 1421694a0c
+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) {