Cannot read properties of undefined (reading 'public_id')
Unanswered
ashie posted this in #help-forum
ashieOP
hello! im trying to create a photo grid - and when i run the dev server it works perfectly fine, but when i go to build the static site i run into the following issue: https://hastebin.com/share/iwosuxanak.javascript
i cannot figure out why only some of the pictures are having this issue. i've tried putting a
you can find the source code of the page here: https://github.com/ash-development/portfolio/blob/main/pages/gallery/%5BphotoId%5D.js
i cannot figure out why only some of the pictures are having this issue. i've tried putting a
console.log
in several spots with no success. you can find the source code of the page here: https://github.com/ash-development/portfolio/blob/main/pages/gallery/%5BphotoId%5D.js