How do I tell when I can rely on isAuthenticated

I have the following…

const {
} = useAuth0();

{ isAuthenticated ? (
User Avatar
) : (


The problem is isAuthenticated is false before it is true so the PersonIcon flashes before the avatar. How can I ensure auth0 is done making sure it is authenticated before checking that property. I am using the Auth0 React SDK.