Skip to content

fix: await async params across all dynamic routes (Next.js 15)#232

Open
Vedhant26 wants to merge 1 commit into
pushkarscripts:mainfrom
Vedhant26:fix/async-params-1780343434686
Open

fix: await async params across all dynamic routes (Next.js 15)#232
Vedhant26 wants to merge 1 commit into
pushkarscripts:mainfrom
Vedhant26:fix/async-params-1780343434686

Conversation

@Vedhant26
Copy link
Copy Markdown

Resolves #231

What changed

  • Refactored all 16 dynamic route page.tsx files to correctly await params before accessing .chapter or .slug properties.
  • Upgraded component signatures from synchronous to async function ChapterPage() where applicable.

Why it matters

Next.js 15.5.9 changed params and searchParams to asynchronous Promises. Accessing them synchronously was causing a level:critical crash across the entire application's routing infrastructure. This patch restores full functionality to the syllabus.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Jun 1, 2026

@Vedhant26 is attempting to deploy a commit to the PushkarScripts Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Critical Crash: Next.js 15 Async Params Not Awaited Across All Dynamic Routes

1 participant