From 94ec37a113c2c9a8961e018e847a4dde45398f14 Mon Sep 17 00:00:00 2001 From: Shreyas Dhoke <“shreyas.d@browserstack.com git config --global user.name “Shreyas> Date: Fri, 19 Sep 2025 08:08:25 +0530 Subject: [PATCH] removed order list from UI --- client/src/components/orders/Orders.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/client/src/components/orders/Orders.js b/client/src/components/orders/Orders.js index 621c153..9546882 100644 --- a/client/src/components/orders/Orders.js +++ b/client/src/components/orders/Orders.js @@ -63,16 +63,6 @@ function Orders({ orders, users, products, loading, fetchOrders, fetchProducts,

Orders ({orders.length})

- {orders.map((order) => ( -
-

Order #{order.id}

-

User: {users.find(u => u.id === order.userId)?.name || 'Unknown'}

-

Product: {products.find(p => p.id === order.productId)?.name || 'Unknown'}

-

Quantity: {order.quantity}

-

Total: ${order.totalPrice}

- {order.status} -
- ))}