MozillaReality / horizon

(2015) Horizon was an experimental VR browser built on web standards using CSS-VR.
http://mozvr.github.io/horizon/web/
Other
1 stars 0 forks source link

Address React warnings #226

Closed cvan closed 9 years ago

cvan commented 9 years ago

Fix the code so these warnings don't appear:

"Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of Browser. See https://fb.me/react-warning-keys for more information." 
    at [154]</warning (http://localhost:8000/js/react.js:19588:7) react.js:19588:7
…
Warning: Failed propType: You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`. Check the render method of `Hud`. 
    at [154]</warning (http://localhost:8000/js/react.js:19588:7) react.js:19588:7