Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 1995 | Rev 1997 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1995 Rev 1996
Línea 22... Línea 22...
22
    const [showInputCode, setShowInputCode] = useState(false);
22
    const [showInputCode, setShowInputCode] = useState(false);
23
    const [loading, setLoading] = useState(false);
23
    const [loading, setLoading] = useState(false);
24
    const handleAlert = (status, message) => {
24
    const handleAlert = (status, message) => {
25
        addNotification({
25
        addNotification({
26
            style: status ? "success" : 'danger',
26
            style: status ? "success" : 'danger',
27
            msg: res.data.message || 'Email enviado exitosamente',
27
            msg: message || 'Email enviado exitosamente',
28
        });
28
        });
29
    }
29
    }
30
    const handleGetCode  = async () => {
30
    const handleGetCode  = async () => {
31
        try {
31
        try {
32
            setShowInputCode(true)
32
            setShowInputCode(true)