Skip to content

chore: fix params type in Page and generateMetadata functions #15230

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

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

0xsenty
Copy link

@0xsenty 0xsenty commented Apr 3, 2025

Description

I’ve corrected an issue where the params were being passed as a promise (Promise<{ locale: Lang }>), while it should have been passed directly as an object ({ locale: Lang }).

This fix ensures the correct type handling in both the Page and generateMetadata functions, preventing potential runtime errors.

Copy link

netlify bot commented Apr 3, 2025

Deploy Preview for ethereumorg failed.

Name Link
🔨 Latest commit d9cff63
🔍 Latest deploy log https://app.netlify.com/sites/ethereumorg/deploys/67ee8775d2787d0008e93828

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