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

fix example component in MDX documentation #52753

Merged
merged 2 commits into from Jul 19, 2023
Merged

Conversation

adamrhunter
Copy link
Contributor

The docs at https://nextjs.org/docs/pages/building-your-application/configuring/mdx have been (correctly) changed to use metadata as the exported variable holding metadata (see #51560 ). However, the example layout component (MyLayoutComponent) uses the metadata value via its meta prop, so the prop's value should be renamed from meta to metadata

The docs at https://nextjs.org/docs/pages/building-your-application/configuring/mdx have been (correctly) changed to use `metadata` as the exported variable holding metadata (see vercel#51560 ).   However, the example layout component (MyLayoutComponent) uses the `metadata` value via its `meta` prop, so the prop's value should be renamed from `meta` to `metadata`
@leerob leerob merged commit 2c1c8fa into vercel:canary Jul 19, 2023
43 of 44 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants