unique "key" prop is missing in menu item
See original GitHub issueDescription
When using the Menu from ‘fundamental-react/Menu’; Receive error in the console.
react_devtools_backend.js:6 Warning: Each child in a list should have a unique "key" prop. Check the render method of
Menu.Item. See https://fb.me/react-warning-keys for more information. in span (created by Menu.Item) in Menu.Item in ul (created by Menu.List) in Menu.List in nav (created by Menu) in Menu
Versions
fundamental-react:
NOTE: Where applicable, please include uncropped screen captures.
DISCLAIMER: After triaging an issue, the fundamental-react team will see if it can be reproduced or confirmed. If more information is needed, the fundamental-react team will contact the author. Any issues awaiting responses from the author for more than 7 days will be closed. The author can re-open the issue at a later time if they can present the requested information.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Oh ok thank you! That should just be a documentation site error, we’ve rebuilt the docs recently (yesterday! 😆 ) so that is resolved by https://github.com/SAP/fundamental-react/pull/978 and will be populated to sap.github.io/fundamental-react on the 0.10.0 release
Feel free to reopen if you don’t agree!
Oh ok, I see. It’s coming from https://github.com/SAP/fundamental-react/blob/master/src/Menu/_MenuItem.js#L80, do you mind opening a new issue about this? Thanks!