Fix React key props in order and my-orders pages
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user