Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 2932 Rev 2964
Línea 6... Línea 6...
6
import { useFetch, useSearchQuery } from '@hooks'
6
import { useFetch, useSearchQuery } from '@hooks'
Línea 7... Línea 7...
7
 
7
 
8
import Input from '@components/UI/inputs/Input'
8
import Input from '@components/UI/inputs/Input'
9
import TitleSection from '@components/UI/TitleSection'
9
import TitleSection from '@components/UI/TitleSection'
10
import MyConnectionsList from '@components/connections/MyConnectionsList'
10
import MyConnectionsList from '@components/connections/MyConnectionsList'
Línea 11... Línea 11...
11
import PaginationComponent from '@components/UI/PaginationComponent'
11
import Pagination from '@components/common/Pagination'
12
 
12
 
Línea 13... Línea 13...
13
const MyConnectionsPage = () => {
13
const MyConnectionsPage = () => {
Línea 27... Línea 27...
27
      <MyConnectionsList
27
      <MyConnectionsList
28
        connections={data.current?.items}
28
        connections={data.current?.items}
29
        loading={isLoading}
29
        loading={isLoading}
30
        onComplete={refetch}
30
        onComplete={refetch}
31
      />
31
      />
32
      <PaginationComponent
32
      <Pagination
33
        isRow
-
 
34
        pages={data.total?.pages}
33
        pages={data.total?.pages}
35
        currentActivePage={data.current?.page}
34
        page={data.current?.page}
36
        onChangePage={(page) => setParam('page', page)}
35
        onChange={(page) => setParam('page', page)}
37
      />
36
      />
38
    </>
37
    </>
39
  )
38
  )
40
}
39
}