();
-
- useEffect(() => {
- // TODO(soapraj): How to observe if the user is logged in
- // TODO(soapraj): List all the providers supported by the app and let user log in from here
- googleAuth.getProfile({ optional: true }).then(googleProfile => {
- setProfile(googleProfile);
- });
- }, [googleAuth]);
return (
- {profile ? (
- <>
-
- >
- ) : (
-
- )}
{isOpen && (