Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 10447 Rev 10450
Línea 1... Línea 1...
1
import React from 'react'
1
import React from 'react'
-
 
2
import { useEffect } from 'react'
2
import { useHistory } from 'react-router-dom'
3
import { useHistory, useParams } from 'react-router-dom'
Línea 3... Línea 4...
3
 
4
 
Línea 4... Línea 5...
4
const FormView = () => {
5
const FormView = () => {
-
 
6
 
-
 
7
	const history = useHistory()
-
 
8
	const { action } = useParams()
-
 
9
 
-
 
10
	useEffect(() => {
Línea 5... Línea 11...
5
 
11
		console.log(action)
6
	const history = useHistory()
12
	}, [])
7
 
13
 
8
	return (
14
	return (