[zanata/zanata-platform] b27482: fix(console warning): prevent warning for missing ...

GitHub noreply at github.com
Mon Jun 19 02:45:12 UTC 2017


  Branch: refs/heads/damason/react-15-upgrade/ZNTA-1922
  Home:   https://github.com/zanata/zanata-platform
  Commit: b27482e8efbe828c875b668b79a746a4e3f9da07
      https://github.com/zanata/zanata-platform/commit/b27482e8efbe828c875b668b79a746a4e3f9da07
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-06-19 (Mon, 19 Jun 2017)

  Changed paths:
    M server/zanata-frontend/src/frontend/app/containers/UserProfile/CalendarMonthMatrix.jsx
    M server/zanata-frontend/src/frontend/app/containers/UserProfile/FilterableMatrixTable.jsx
    M server/zanata-frontend/src/frontend/app/containers/UserProfile/RecentContributions.jsx
    M server/zanata-frontend/src/frontend/app/containers/UserProfile/index.jsx

  Log Message:
  -----------
  fix(console warning): prevent warning for missing callback

The componnet does not always need it, but marks it as .isRequired.
The proper fix here will be to split the component into 2 components
since they need a very different set of props input.




More information about the zanata-commits mailing list