From a296245932d077a13733994e35f2605f53c469f3 Mon Sep 17 00:00:00 2001 From: Alexander Biraben-Renard Date: Wed, 4 Sep 2024 14:54:06 +0100 Subject: [PATCH] fix: force dynamic on appropriate pages --- app/companies/page.tsx | 1 + app/events/page.tsx | 1 + app/opportunities/page.tsx | 1 + app/page.tsx | 1 - app/students/page.tsx | 1 + 5 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/companies/page.tsx b/app/companies/page.tsx index d8d3ee17..1ac17d8f 100644 --- a/app/companies/page.tsx +++ b/app/companies/page.tsx @@ -30,4 +30,5 @@ const OpportunitiesPage = async () => { ) } +export const dynamic = "force-dynamic" export default OpportunitiesPage diff --git a/app/events/page.tsx b/app/events/page.tsx index f030a481..37ce2858 100644 --- a/app/events/page.tsx +++ b/app/events/page.tsx @@ -27,4 +27,5 @@ const EventsPage = async () => { ) } +export const dynamic = "force-dynamic" export default EventsPage diff --git a/app/opportunities/page.tsx b/app/opportunities/page.tsx index 0a6dc5f4..ade07c4d 100644 --- a/app/opportunities/page.tsx +++ b/app/opportunities/page.tsx @@ -26,4 +26,5 @@ const OpportunitiesPage = async () => { ) } +export const dynamic = "force-dynamic" export default OpportunitiesPage diff --git a/app/page.tsx b/app/page.tsx index 639a5b20..32a06c06 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -143,5 +143,4 @@ const Home = async () => { ) } -export const dynamic = "force-dynamic" export default Home diff --git a/app/students/page.tsx b/app/students/page.tsx index 01874b19..0f142c2e 100644 --- a/app/students/page.tsx +++ b/app/students/page.tsx @@ -34,4 +34,5 @@ const StudentsPage = async () => { ) } +export const dynamic = "force-dynamic" export default StudentsPage