Unverified Commit fd6c9079 authored by sanruiz's avatar sanruiz Committed by GitHub

Fix: [slug].tsx in wordpress example (#41074)

Fixing the image URL in the meta property og:image

<!--
Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change that you're making:
-->
## Documentation / Examples

- [x] Make sure the linting passes by running `pnpm lint`
- [x] The "examples guidelines" are followed from [our contributing
doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
parent 3b346024
...@@ -37,7 +37,7 @@ export default function Post({ post, posts, preview }) { ...@@ -37,7 +37,7 @@ export default function Post({ post, posts, preview }) {
</title> </title>
<meta <meta
property="og:image" property="og:image"
content={post.featuredImage?.sourceUrl} content={post.featuredImage?.node.sourceUrl}
/> />
</Head> </Head>
<PostHeader <PostHeader
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment