Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Headers, Page/Layout Params and cookies are now asynchronous #135

Open
ishownobitches opened this issue Nov 1, 2024 · 0 comments
Open

Comments

@ishownobitches
Copy link

Describe the feature / bug 📝:

[ Server ] Error: Route "/" used headers().get('x-language-tag'). headers() should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis

Steps to reproduce the bug 🔁:

  1. Install dependencies
  2. Set up environment variables
  3. Run the dev server
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

No branches or pull requests

1 participant