Skip to content
Snippets Groups Projects
Commit 6b18c215 authored by meskio's avatar meskio :tent:
Browse files

Add key to options on create order

parent 3a059bcc
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ function CreateOrder() {
};
const orderOptions = prevOrders
? prevOrders.map((o) => <option>{o.name}</option>)
? prevOrders.map((o) => <option key={o.name}>{o.name}</option>)
: "";
return (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment