Skip to content

Commit a9622f7

Browse files
docs: remove unrelated changes
1 parent ee9547a commit a9622f7

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

docs/pages/nextjs-14.mdx

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ To avoid marking an entire page as a Client Component, you can create a basic wr
4040
```jsx copy showLineNumbers
4141
"use client";
4242

43-
import { CldImage as CldImageDefault, type CldImageProps } from 'next-cloudinary';
43+
import { CldImage as CldImageDefault, CldImageProps } from 'next-cloudinary';
4444

4545
const CldImage = (props: CldImageProps) => {
4646
return <CldImageDefault {...props} />
@@ -67,15 +67,11 @@ import { getCldOgImageUrl } from 'next-cloudinary';
6767
export const metadata = {
6868
openGraph: {
6969
...
70-
images: [
71-
{
72-
url: getCldOgImageUrl({
73-
src: 'your-public-id',
74-
}),
75-
},
76-
],
70+
images: getCldOgImageUrl({
71+
src: '<Public ID>'
72+
})
7773
},
7874
};
7975
```
8076

81-
Find more examples of [Social Media Cards](/guides/social-media-card).
77+
Find more examples of [Social Media Cards](/guides/social-media-card).

0 commit comments

Comments
 (0)