Reactime icon indicating copy to clipboard operation
Reactime copied to clipboard

Add missing key attribute for <option> list in nodeOptions datalist

Open aspiers opened this issue 4 years ago • 0 comments

The Select dropdown in the Map view provides a list of nodes to select, but React requires that every element of a list has a key attribute to enable its DOM tracking / reconciliation.

So add the missing key attribute to avoid this warning:

react.development.js:315 Warning: Each child in a list should have a unique "key" prop.

aspiers avatar Dec 11 '21 20:12 aspiers