In LoginAdvice component, the sequence of showing the alert is loading then user but if the user is not logged in then it will be better to show user to login first then we can load the data of the user.
I was not logged in and it was showing me loading user info ...
In LoginAdvice component, the sequence of showing the alert is loading then user but if the user is not logged in then it will be better to show user to login first then we can load the data of the user.
I was not logged in and it was showing me loading user info ...
After changes in sequence -