Frontend update

This commit is contained in:
g
2025-02-16 01:51:15 +00:00
parent da957d7c5f
commit 236fb223e4
4 changed files with 84 additions and 22 deletions

View File

@@ -144,7 +144,7 @@ export default function OrderTable() {
method: "POST",
body: JSON.stringify({ orderIds: Array.from(selectedOrders) })
});
setOrders(prev =>
prev.map(order =>
selectedOrders.has(order._id)