You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Uncaught TypeError: Cannot read properties of undefined (reading '0')'
The text was updated successfully, but these errors were encountered:
luespinal03
changed the title
line 105 {work.tags[0]} GIVES ME WHITE SCREEN OF DEATH
line 105 work.jsx {work.tags[0]} GIVES ME WHITE SCREEN OF DEATH
Nov 4, 2022
Hi @luespinal03 , that "0" that is returning undefined is probably because you need to set your localhost in API configuration in your project manager in Sanity. This happened to me recently. In my project manager, in the API configuration, only port 3000 had access to what came from Sanity but I was using port 3001, so instead of my "work" being rendered on the screen, only "0" was rendered.
If your problem is not defining localhost in the project manager settings, then the error is probably related to the "Work" section that you defined in your Sanity.
'Uncaught TypeError: Cannot read properties of undefined (reading '0')'
The text was updated successfully, but these errors were encountered: