You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When rendering suggest items with matching substrings, and not passing a value for the renderSuggestItem prop, React raises a warning that each child in a list should have a unique key.
I am using version 2.16.2.
Expected results
Suggest items are rendered without raising a react warning.
Actual results
React raises a warning.
Additional Information
Warning: Each child in a list should have a unique "key" prop.
Check the render method of `SuggestItem`. See https://reactjs.org/link/warning-keys for more information.
b
SuggestItem@webpack:////app/node_modules/@ubilabs/react-geosuggest/module/Geosuggest.esm.js?:305:28
ul
SuggestList@webpack:////app/node_modules/@ubilabs/react-geosuggest/module/Geosuggest.esm.js?:412:42
div
div
GeoSuggest@webpack:////app/node_modules/@ubilabs/react-geosuggest/module/Geosuggest.esm.js?:467:28
The text was updated successfully, but these errors were encountered:
Short description
When rendering suggest items with matching substrings, and not passing a value for the
renderSuggestItem
prop, React raises a warning that each child in a list should have a unique key.I am using version
2.16.2
.Expected results
Suggest items are rendered without raising a react warning.
Actual results
React raises a warning.
Additional Information
The text was updated successfully, but these errors were encountered: