trivalleycoders-org / events-client

Display any type of event. Link to your ticketing/registration site
MIT License
2 stars 6 forks source link

fixed issue where typing into addressbar a private route asked the us… #118

Closed klequis closed 6 years ago

klequis commented 6 years ago

Hema, There was an issue we saw in today's meeting where the user was logged in but when I typed ../my-events into the address bar was asked to login again.

I fixed this issue, but I also moved the authentication code from the constructor to componentDidMount. Let me know if there is a reason to have authentication in the constructor. If so i'll try to put it back.