|
|
|
|
|
|
|
|
import { dehydrate, QueryClient } from '@tanstack/react-query'; |
|
|
import { dehydrate, QueryClient } from '@tanstack/react-query'; |
|
|
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'; |
|
|
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'; |
|
|
|
|
|
import Head from 'next/head'; |
|
|
import PaginationComponentRQ from '../components/pagination/react-query/PaginationComponentRQ'; |
|
|
import PaginationComponentRQ from '../components/pagination/react-query/PaginationComponentRQ'; |
|
|
import { getData } from '../requests/dataRequest'; |
|
|
import { getData } from '../requests/dataRequest'; |
|
|
|
|
|
|
|
|
const Home = () => { |
|
|
const Home = () => { |
|
|
return ( |
|
|
return ( |
|
|
<> |
|
|
<> |
|
|
|
|
|
<Head> |
|
|
|
|
|
<title>NextJS template</title> |
|
|
|
|
|
<meta name="description" content="Random data with pagination..." /> |
|
|
|
|
|
</Head> |
|
|
<PaginationComponentRQ></PaginationComponentRQ> |
|
|
<PaginationComponentRQ></PaginationComponentRQ> |
|
|
</> |
|
|
</> |
|
|
); |
|
|
); |