Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 2875 Rev 2964
Línea 8... Línea 8...
8
import Spinner from '../../components/UI/Spinner'
8
import Spinner from '../../components/UI/Spinner'
9
import Input from '../../components/UI/inputs/Input'
9
import Input from '../../components/UI/inputs/Input'
10
import ProfileItem from '../../components/profile/ProfileItem'
10
import ProfileItem from '../../components/profile/ProfileItem'
11
import EmptySection from '../../components/UI/EmptySection'
11
import EmptySection from '../../components/UI/EmptySection'
12
import TitleSection from '../../components/UI/TitleSection'
12
import TitleSection from '../../components/UI/TitleSection'
13
import PaginationComponent from '../../components/UI/PaginationComponent'
13
import Pagination from '@components/common/Pagination'
Línea 14... Línea 14...
14
 
14
 
15
const ImpersonatePage = () => {
15
const ImpersonatePage = () => {
16
  const { getParam, setParam } = useSearchQuery()
16
  const { getParam, setParam } = useSearchQuery()
17
  const { data, isLoading } = useFetch(
17
  const { data, isLoading } = useFetch(
Línea 51... Línea 51...
51
              message={labels.datatable_szerorecords}
51
              message={labels.datatable_szerorecords}
52
            />
52
            />
53
          )}
53
          )}
54
        </ul>
54
        </ul>
55
      )}
55
      )}
56
      <PaginationComponent
56
      <Pagination
57
        pages={data.total?.pages}
57
        pages={data.total?.pages}
58
        currentActivePage={data.current?.page}
58
        page={data.current?.page}
59
        onChangePage={(newPage) => setParam('page', newPage)}
59
        onChange={(newPage) => setParam('page', newPage)}
60
        isRow
-
 
61
      />
60
      />
62
    </>
61
    </>
63
  )
62
  )
64
}
63
}