Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 2934 Rev 2964
Línea 5... Línea 5...
5
import { debounce } from '@utils'
5
import { debounce } from '@utils'
6
import { useFetch, useSearchQuery } from '@hooks'
6
import { useFetch, useSearchQuery } from '@hooks'
Línea 7... Línea 7...
7
 
7
 
8
import TitleSection from '@components/UI/TitleSection'
8
import TitleSection from '@components/UI/TitleSection'
9
import Input from '@components/UI/inputs/Input'
9
import Input from '@components/UI/inputs/Input'
10
import PaginationComponent from '@components/UI/PaginationComponent'
10
import Pagination from '@components/common/Pagination'
Línea 11... Línea 11...
11
import PeopleViewedMyProfileList from '../../components/profile/PeopleViewedMyProfileList'
11
import PeopleViewedMyProfileList from '@components/profile/PeopleViewedMyProfileList'
12
 
12
 
Línea 13... Línea 13...
13
const PeopleViewedMyProfilePage = () => {
13
const PeopleViewedMyProfilePage = () => {
Línea 22... Línea 22...
22
 
22
 
23
  return (
23
  return (
24
    <>
24
    <>
25
      <TitleSection title={labels.who_has_seen_my_profile} />
25
      <TitleSection title={labels.who_has_seen_my_profile} />
-
 
26
      <Input icon={<Search />} onChange={handleSearch} variant='search' />
26
      <Input icon={<Search />} onChange={handleSearch} variant='search' />
27
      <PeopleViewedMyProfileList
27
      <PeopleViewedMyProfileList profiles={data.current?.items} loading={isLoading} onComplete={refetch}/>
28
        profiles={data.current?.items}
-
 
29
        loading={isLoading}
-
 
30
        onComplete={refetch}
28
      <PaginationComponent
31
      />
-
 
32
      <Pagination
29
        isRow
33
        page={data.current?.page}
30
        pages={data.total?.pages}
-
 
31
        currentActivePage={data.current?.page}
34
        pages={data.total?.pages}
32
        onChangePage={(page) => setParam('page', page)}
35
        onChange={(page) => setParam('page', page)}
33
      />
36
      />
34
    </>
37
    </>
35
  )
38
  )