This commit is contained in:
tmshv committed 2020-03-03 02:38:22 +03:00
1 parent 970bdce53d
commit 6760f36177
1 file changed
+2 -2
+2 -2
View File
@@ -59,7 +59,7 @@ export const unstable_getStaticProps = async () => {
const url = `/api/pages/tags?${tagQuery}&skip=${skip}&limit=${limit}&sortBy=-date`
const res = await requestGet<IResponseItems<IPage>>(createApiUrl(url), null)
const articles = (res.items || [])
const items = (res.items || [])
// const nextPage = res.nextPage
const nextPage = 2
const prevPage = res.prevPage
@@ -73,7 +73,7 @@ export const unstable_getStaticProps = async () => {
return {
props: {
articles,
items,
nextPage,
prevPage,
title,