page grid update: load less data

This commit is contained in:
tmshv committed 2020-03-03 07:53:16 +03:00
1 parent 1318328fe7
commit e800de1f92
5 files changed
+100 -89

No files matched your search

+2 -4
View File
@@ -6,12 +6,12 @@ import { HudozkaTitle } from 'src/components/HudozkaTitle'
import { MetaBuilder } from 'src/lib/meta'
import { getPagesCardsByTags } from 'src/rest'
import { NextPage } from 'next'
import { IPage, IMeta } from 'src/types'
import { IMeta, PageCardData } from 'src/types'
interface IProps {
title: string
meta: IMeta
items: IPage[]
items: PageCardData[]
}
const Index: NextPage<IProps> = props => (
@@ -32,8 +32,6 @@ const Index: NextPage<IProps> = props => (
<PageGrid
items={props.items}
prevPage={null}
nextPage={null}
/>
</App>
)