Fix React key props in order and my-orders pages

This commit is contained in:
DanielS
2026-06-22 22:24:21 +02:00
parent f91499861e
commit 2403408b6c
2 changed files with 5 additions and 5 deletions

View File

@@ -113,7 +113,7 @@ export default async function MyOrdersPage() {
<div className="flex flex-wrap gap-2">
{items.map((item, i) => (
<span
key={i}
key={item.product_id}
className="text-xs bg-white/5 border border-white/10 rounded-full px-3 py-1 text-slate-300"
>
{item.product_name}