Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 10911 Rev 10915
Línea 49... Línea 49...
49
	const { setValue, register, watch, handleSubmit } = useForm()
49
	const { setValue, register, watch, handleSubmit } = useForm()
50
	const history = useHistory()
50
	const history = useHistory()
51
	const dispatch = useDispatch()
51
	const dispatch = useDispatch()
52
	const { action } = useParams()
52
	const { action } = useParams()
Línea 53... Línea 53...
53
 
53
 
-
 
54
	const onSubmit = (data) => {
-
 
55
 
54
	const onSubmit = () => {
56
		console.log(data)
55
		const content = []
57
		const content = []
56
		competencies.forEach(competency => competency.behaviors.forEach(behavior => {
58
		competencies.forEach(competency => competency.behaviors.forEach(behavior => {
57
			content.push({
59
			content.push({
58
				competencyUuid: behavior.competency_uuid,
60
				competencyUuid: behavior.competency_uuid,