Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 6007 Rev 6359
Línea 654... Línea 654...
654
 
654
 
655
      dispatch(addNotification({ msg: response.data, style: 'success' }))
655
      dispatch(addNotification({ msg: response.data, style: 'success' }))
656
      onCreate()
656
      onCreate()
657
      reset()
657
      reset()
658
    } catch (error) {
658
    } catch (error) {
659
      console.log(`Error: ${error.message}`)
659
      console.log(`Error: ${error}`)
660
      return dispatch(
660
      return dispatch(
661
        addNotification({ msg: 'Ha ocurrido un error', style: 'danger' })
661
        addNotification({ msg: 'Ha ocurrido un error', style: 'danger' })
662
      )
662
      )
663
    }
663
    }