Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 2771 Rev 2772
Línea 30... Línea 30...
30
 
30
 
31
        axios.post(sendLink, formData)
31
        axios.post(sendLink, formData)
32
            .then(async (response) => {
32
            .then(async (response) => {
33
                const resData = response.data;
33
                const resData = response.data;
34
                if (!resData.success) {
34
                if (!resData.success) {
35
                    useDispatch(addNotification({
35
                    return useDispatch(addNotification({
36
                        style: 'danger',
36
                        style: "danger",
37
                        msg: 'Ha ocurrido un error'
37
                        msg: "Ha ocurrido un error"
38
                    }))
38
                    }))
39
                }
39
                }
40
                setSelectedFile("");
40
                setSelectedFile("");
41
                setShowEmojione(false);
41
                setShowEmojione(false);