Not sure, but this might work. If you render it with conditionally by using
const { isLoaded } = useAuth();
Make use of isLoaded to stop render the component eg:
if (!isLoaded) {
// Prevent rendering until auth state is loaded
return null;
}