{storeAvailableHours.map((e,i) => {
return(
<Dropdown.Item as="button" onClick= {() => {setOrderIndex(i)}} >
{e.dayOfWeek}
</Dropdown.Item>
)
})}
Hi, everyone. I got a warning "Warning: Each child in a list should have a unique "key" prop" for this map function. Do you have any idea how to fix it? Thank you very much.