Se produjo un error no controlado en tiempo de ejecución while verificando el estado del usuario.
import { withAuthenticator, AmplifySignOut } from ‘@aws-amplify/ui-react’ import { Auth } from ‘aws-amplify’ import { useState, useEffect } from ‘react’ function Profile() { const [user, setUser] = useState(null) useEffect(() => { checkUser() }, []) async function checkUser() { const user = await Auth.currentAuthenticatedUser() setUser(user); //Ocurrió un error en } if . . . Read more