use-react-context-for-state-management
use-react-context-for-state-management copied to clipboard
Fix issue: Crashing when logging out
Remove onLogin={this.handleLogin} from <Login/>, as you get it from context and primarily because it was crashing the app when you logout.