freeCodeCamp/league-for-good

It is not possible to add new staff member

Opened this issue · 0 comments

  • Log in to the league.
  • Open the console
  • Create a league -> Open your league -> Click on settings -> Click add member icon.

The screen will go blank with several errors and warnings:

First error:
VM7000 react-dom.development.js:55 Uncaught Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops. at invariant (VM7000 react-dom.development.js:55) at scheduleWork (VM7000 react-dom.development.js:16787) at Object.enqueueSetState (VM7000 react-dom.development.js:11478) at Connect.Component.setState (VM6995 react.development.js:364) at Connect.onStateChange (VM7011 connectAdvanced.js:215) at Object.notify (VM7014 Subscription.js:28) at Subscription.notifyNestedSubs (VM7014 Subscription.js:67) at Connect.notifyNestedSubsOnComponentDidUpdate (VM7011 connectAdvanced.js:226) at commitLifeCycles (VM7000 react-dom.development.js:14532) at commitAllLifeCycles (VM7000 react-dom.development.js:15738)