Skip to content

Commit

Permalink
Merge pull request #131 from gsainfoteam/dynamic-render-list-page
Browse files Browse the repository at this point in the history
fix: make list page dynamic
  • Loading branch information
2paperstar authored Nov 16, 2023
2 parents 4feed36 + 0818718 commit f67000e
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 f67000e

Please sign in to comment.