Skip to content

Commit

Permalink
Add only 1st image to json_metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
1aerostorm committed Oct 26, 2023
1 parent 3ab69ed commit 20751a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/components/modules/PostForm/PostForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,8 @@ class PostForm extends React.Component {
}

if (rtags.images.size) {
meta.image = [...rtags.images];
const [firstImage] = rtags.images
meta.image = [firstImage]
}

if (rtags.links.size) {
Expand Down

0 comments on commit 20751a1

Please sign in to comment.