Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 2780 Rev 2806
Línea 1... Línea 1...
1
import React from 'react'
1
import React from 'react'
2
import { debounce, jsonToParams } from '../../utils'
-
 
3
import { Container } from '@mui/material'
-
 
4
import { useSelector } from 'react-redux'
2
import { useSelector } from 'react-redux'
Línea -... Línea 3...
-
 
3
 
5
 
4
import { debounce, jsonToParams } from '../../utils'
Línea 6... Línea 5...
6
import { useFetch, useSearchParams } from '@hooks'
5
import { useFetch, useSearchParams } from '@hooks'
7
 
6
 
8
import Spinner from '../../components/UI/Spinner'
7
import Spinner from '../../components/UI/Spinner'
Línea 22... Línea 21...
22
  const labels = useSelector(({ intl }) => intl.labels)
21
  const labels = useSelector(({ intl }) => intl.labels)
Línea 23... Línea 22...
23
 
22
 
Línea 24... Línea 23...
24
  const handleSearch = debounce((value) => setParams('keyword', value), 500)
23
  const handleSearch = debounce((value) => setParams('keyword', value), 500)
25
 
24
 
26
  return (
25
  return (
Línea 27... Línea 26...
27
    <Container>
26
    <>
Línea 28... Línea 27...
28
      <TitleSection title='Usuarios disponibles a personalizar' />
27
      <TitleSection title='Usuarios disponibles a personalizar' />
Línea 61... Línea 60...
61
        pages={data.total?.pages}
60
        pages={data.total?.pages}
62
        currentActivePage={data.current?.page}
61
        currentActivePage={data.current?.page}
63
        onChangePage={(newPage) => setParams('page', newPage)}
62
        onChangePage={(newPage) => setParams('page', newPage)}
64
        isRow
63
        isRow
65
      />
64
      />
66
    </Container>
65
    </>
67
  )
66
  )
68
}
67
}
Línea 69... Línea 68...
69
 
68