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.
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.