Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 15312 Rev 15313
Línea 22... Línea 22...
22
 
22
 
23
	const [linkDelete, setLinkDelete] = useState('')
23
	const [linkDelete, setLinkDelete] = useState('')
24
	const [search, setSearch] = useState('')
24
	const [search, setSearch] = useState('')
25
	const [dataLength, setDataLength] = useState(10)
25
	const [dataLength, setDataLength] = useState(10)
26
	const [currentPage, setCurrentPage] = useState(1)
26
	const [currentPage, setCurrentPage] = useState(1)
27
	
27
 
Línea 28... Línea 28...
28
	const { items: data, total, lastPage, startItem, lastItem } = useGetDataTable({ url: table_link, params: { search, length: dataLength, start: currentPage } })
28
	const { items: data, total, lastPage, startItem, lastItem } = useGetDataTable({ url: table_link, params: { search, length: dataLength, start: currentPage } })
Línea -... Línea 29...
-
 
29
 
-
 
30
	const [items, setItems] = useState(data)
29
 
31
 
30
	const [items, setItems] = useState(data)
32
	console.log('render')
31
 
33
 
32
	const handleEdit = (url) => {
34
	const handleEdit = (url) => {