Skip to content

Commit

Permalink
fix: make list page dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
2paperstar committed Nov 16, 2023
1 parent 4feed36 commit 0818718
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/[lng]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import ZaboCarousel from '../components/templates/ZaboCarousel';
import { createTranslation } from '../i18next';
import { Locale } from '../i18next/settings';

export const dynamic = 'force-dynamic';

export default async function Home({
params: { lng },
}: {
Expand Down
2 changes: 2 additions & 0 deletions src/app/[lng]/section/all/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { Locale } from '@/app/i18next/settings';

import NoticesLoadingWrapper from './NoticesLoadingWrapper';

export const dynamic = 'force-dynamic';

const AllNoticePage = async ({
searchParams,
}: {
Expand Down

0 comments on commit 0818718

Please sign in to comment.