Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 653 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 653 Rev 655
Línea 63... Línea 63...
63
        }
63
        }
Línea 64... Línea 64...
64
 
64
 
65
        setContacts(data)
65
        setContacts(data)
66
      })
66
      })
67
      .catch((err) => {
67
      .catch((err) => {
68
        dispatch(addNotification({ style: 'danger', msg: err }))
68
        dispatch(addNotification({ style: 'danger', msg: err.message }))
69
      })
69
      })
70
      .finally(() => setLoading(false))
70
      .finally(() => setLoading(false))
Línea 71... Línea 71...
71
  }
71
  }
Línea 86... Línea 86...
86
 
86
 
87
        dispatch(addNotification({ style: 'success', msg: data }))
87
        dispatch(addNotification({ style: 'success', msg: data }))
88
        getContacts()
88
        getContacts()
89
      })
89
      })
90
      .catch((err) => {
90
      .catch((err) => {
91
        dispatch(addNotification({ style: 'danger', msg: err }))
91
        dispatch(addNotification({ style: 'danger', msg: err.message }))
92
      })
92
      })
93
      .finally(() => setLoading(false))
93
      .finally(() => setLoading(false))
Línea 94... Línea 94...
94
  }
94
  }