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

support for multiple pictures per post in media gallery #77

Open
staminna opened this issue Feb 16, 2023 · 0 comments
Open

support for multiple pictures per post in media gallery #77

staminna opened this issue Feb 16, 2023 · 0 comments

Comments

@staminna
Copy link

Enabling multiple images mode in the media gallery produces the following error:
open:

Server Error
TypeError: Cannot destructure property 'url' of 'image.data.attributes' as it is undefined.

This error happened while generating the page. Any console logs will be displayed in the terminal window.
Source
components/image.js (5:10) @ Image


  3 | 
  4 | const Image = ({ image, style }) => {
> 5 |   const { url, alternativeText, width, height } = image.data.attributes
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

No branches or pull requests

1 participant