Branch: refs/heads/damason/react-upgrade-prep/ZNTA-1953
  Home:   https://github.com/zanata/zanata-platform
  Commit: fd1f7b1e478e3deb8a21fdda672b41e01039d5b0
      
https://github.com/zanata/zanata-platform/commit/fd1f7b1e478e3deb8a21fdda672b41e01039d5b0
  Author: David Mason <drdma...@gmail.com>
  Date:   2017-05-17 (Wed, 17 May 2017)

  Changed paths:
    M 
server/zanata-frontend/src/frontend/app/editor/components/EditorSearchInput/index.js
    M 
server/zanata-frontend/src/frontend/app/editor/components/UiLanguageDropdown/index.js

  Log Message:
  -----------
  fix(ZNTA-1935): remove warnings and prevent React swallowing props.key

React silently consumes props.key and it is not defined in the component
this.props. The workaround is to use a different name (e.g. id). We
should look at adding a linting rule to make using 'key' as a prop
name in propTypes an error.


_______________________________________________
zanata-commits mailing list
zanata-commits@redhat.com
https://www.redhat.com/mailman/listinfo/zanata-commits

Reply via email to