Skip to content

Comments

fix(solutions/blog): handle async params for Next.js 15+ compatibility#1405

Open
spli02 wants to merge 2 commits intovercel:mainfrom
spli02:fix/solutions-blog-async-params-blog-page
Open

fix(solutions/blog): handle async params for Next.js 15+ compatibility#1405
spli02 wants to merge 2 commits intovercel:mainfrom
spli02:fix/solutions-blog-async-params-blog-page

Conversation

@spli02
Copy link

@spli02 spli02 commented Feb 21, 2026

Description

Since the Next.js 16 update in cb2643e, the blog page of solutions/blog example has been broken during local development.
From Next.js 15+, params is now a Promise that must be awaited. In the current implementation, params.slug is accessed synchronously, which throws a runtime error.

screenshot

Type of Change

  • New Example
  • Example updates (Bug fixes, new features, etc.)
  • Other (changes to the codebase, but not to examples)

@vercel
Copy link
Contributor

vercel bot commented Feb 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mintlify-docs-rewrite Error Error Feb 21, 2026 10:04pm

@vercel
Copy link
Contributor

vercel bot commented Feb 21, 2026

@spli02 is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link
Contributor

vercel bot commented Feb 21, 2026

Deployment failed with the following error:

The `vercel.ts` schema validation failed with the following message: `rewrites[0]` missing required property `destination`

Learn More: https://vercel.com/docs/concepts/projects/project-configuration

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.

1 participant