Functional cart and balance display

This commit is contained in:
2026-01-22 18:54:51 +01:00
parent bcc5164abb
commit ed5afb1dec
16 changed files with 624 additions and 107 deletions
+4 -1
View File
@@ -16,6 +16,9 @@ export async function GET() {
item: { select: { stock: true } },
},
});
// and cache no store header
return NextResponse.json(sellables);
return NextResponse.json(sellables, {
headers: { "Cache-Control": "no-store" },
});
}