Skip to content

Commit 08761c1

Browse files
committed
feat: add dynamic export to multiple pages for improved rendering
1 parent bb9deca commit 08761c1

6 files changed

Lines changed: 12 additions & 0 deletions

File tree

src/app/(cfp)/cfp/expense/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
export const dynamic = 'force-dynamic'
2+
13
import { getAuthSession } from '@/lib/auth'
24
import { redirect } from 'next/navigation'
35
import { headers } from 'next/headers'

src/app/(cfp)/cfp/list/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
export const dynamic = 'force-dynamic'
2+
13
import { getAuthSession } from '@/lib/auth'
24
import { redirect } from 'next/navigation'
35
import { headers } from 'next/headers'

src/app/(cfp)/cfp/profile/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
export const dynamic = 'force-dynamic'
2+
13
import { getAuthSession } from '@/lib/auth'
24
import { getSpeaker } from '@/lib/speaker/sanity'
35
import { redirect } from 'next/navigation'

src/app/(cfp)/cfp/proposal/[[...id]]/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
export const dynamic = 'force-dynamic'
2+
13
import { XCircleIcon } from '@heroicons/react/24/solid'
24
import Link from 'next/link'
35
import {

src/app/(cfp)/cfp/proposal/[id]/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
export const dynamic = 'force-dynamic'
2+
13
import { notFound, redirect } from 'next/navigation'
24
import { headers } from 'next/headers'
35
import { getProposalSanity as getProposal } from '@/lib/proposal/server'

src/app/(cfp)/cfp/workshop/[id]/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
export const dynamic = 'force-dynamic'
2+
13
import { redirect } from 'next/navigation'
24
import { headers } from 'next/headers'
35
import { getAuthSession } from '@/lib/auth'

0 commit comments

Comments
 (0)