-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
Expected Behavior
No warnings
Current Behavior
Warning: setState(...): Cannot update during an existing state transition (such as within `render` or another component's constructor). Render methods should be a pure function of props and state; constructor side-effects are an anti-pattern, but can be moved to `componentWillMount`.
Steps to Reproduce (for bugs)
- Log in to Github
- Check the console
Possible Solution
The issue is the Auth component, because this.setState is being called in the componentDidMount function.