We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cf29cc7 + a0cde94 commit dbd76f1Copy full SHA for dbd76f1
1 file changed
app/[localeCode]/(index)/page.tsx
@@ -1,4 +1,4 @@
1
-import type { Locale } from '@prezly/theme-kit-nextjs';
+import { DEFAULT_PAGE_SIZE, type Locale } from '@prezly/theme-kit-nextjs';
2
import type { Metadata } from 'next';
3
import dynamic from 'next/dynamic';
4
@@ -64,9 +64,7 @@ export default async function StoriesIndexPage(props: Props) {
64
<HubStories
65
layout={themeSettings.layout}
66
localeCode={params.localeCode}
67
- // we're subtracting one story because there's no highlighted
68
- // story in hub sites
69
- pageSize={getStoryListPageSize(themeSettings.layout) - 1}
+ pageSize={DEFAULT_PAGE_SIZE}
70
showDate={themeSettings.show_date}
71
showSubtitle={themeSettings.show_subtitle}
72
storyCardVariant={themeSettings.story_card_variant}
0 commit comments