Closed timroesner closed 6 years ago
This is because you're loading the current user asynchronously.
Best way is to only render the "You're not logged in" after you have the currentUser. I'd work with a finishedLoading boolean.
This is because you're loading the current user asynchronously.
Best way is to only render the "You're not logged in" after you have the currentUser. I'd work with a finishedLoading boolean.