diff --git a/apps/dashboard/next.config.js b/apps/dashboard/next.config.js index 227373c9556..4c4c9f9483b 100644 --- a/apps/dashboard/next.config.js +++ b/apps/dashboard/next.config.js @@ -164,6 +164,7 @@ const moduleExports = { emotion: true, }, productionBrowserSourceMaps: false, + staticPageGenerationTimeout: 500, }; const { withSentryConfig } = require("@sentry/nextjs"); diff --git a/apps/dashboard/src/app/(dashboard)/explore/[category]/page.tsx b/apps/dashboard/src/app/(dashboard)/explore/[category]/page.tsx index 7c2b20404f2..a7740584a30 100644 --- a/apps/dashboard/src/app/(dashboard)/explore/[category]/page.tsx +++ b/apps/dashboard/src/app/(dashboard)/explore/[category]/page.tsx @@ -144,6 +144,3 @@ export async function generateStaticParams() { params: { category }, })); } - -// TODO - figure out why this page is not building if we let it be static -export const dynamic = "force-dynamic"; diff --git a/apps/dashboard/src/app/(dashboard)/explore/page.tsx b/apps/dashboard/src/app/(dashboard)/explore/page.tsx index c373595f296..65408c0596a 100644 --- a/apps/dashboard/src/app/(dashboard)/explore/page.tsx +++ b/apps/dashboard/src/app/(dashboard)/explore/page.tsx @@ -57,6 +57,3 @@ export default async function ExplorePage() { ); } - -// TODO - figure out why this page is not building if we let it be static -export const dynamic = "force-dynamic";