Closed
Description
🐛 Bug Report
Item uses key from props, but causing warning under StrictMode.
🤔 Expected Behavior
😯 Current Behavior
Warning: MenuItem: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop.
💁 Possible Solution
🔦 Context
💻 Code Sample
🌍 Your Environment
Software | Version(s) |
---|---|
react-spectrum | |
Browser | |
Operating System |