Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 11166 Rev 11227
Línea 4... Línea 4...
4
import { useForm } from 'react-hook-form'
4
import { useForm } from 'react-hook-form'
5
import { useDispatch } from 'react-redux'
5
import { useDispatch } from 'react-redux'
6
import { addNotification } from '../../../redux/notification/notification.actions'
6
import { addNotification } from '../../../redux/notification/notification.actions'
7
import DescriptionInput from '../../../shared/DescriptionInput'
7
import DescriptionInput from '../../../shared/DescriptionInput'
Línea 8... Línea 8...
8
 
8
 
Línea 9... Línea 9...
9
const EditModal = ({ closeModal, isOpen, edit_link }) => {
9
const EditModal = ({ closeModal, isOpen, edit_link, resetLink }) => {
10
 
10
 
11
	//Hooks
11
	//Hooks
Línea 44... Línea 44...
44
					}))
44
					}))
45
				}
45
				}
Línea 46... Línea 46...
46
 
46
 
47
				clearErrors()
47
				clearErrors()
-
 
48
				closeModal()
48
				closeModal()
49
				resetLink()
49
				dispatch(addNotification({
50
				dispatch(addNotification({
50
					style: 'success',
51
					style: 'success',
51
					msg: 'Registro actualizado'
52
					msg: 'Registro actualizado'
52
				}))
53
				}))