-
-
Notifications
You must be signed in to change notification settings - Fork 681
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
TypeError: Cannot read properties of undefined (reading 'length') bannerData.length is not fetching from sanity (sanity has 2 products in it's db) #103
Comments
hi, @vaibhavkrsi are you adding products in the sanity components, the error is saying that |
@SoumyaSubhrajit Yes I have already added products in my sanity db both in banner and products it's still showing the same error. I have also tried bannerData at index 0 and 1, After adding 2-3 products. but it's still showing the same error. seems like it's not fetching my data. |
@vaibhavkrsi I see the error now, change |
@SoumyaSubhrajit Yes , after changing that too I'm still facing the same error. Why the code is running after I write |
@vaibhavkrsi check if the error you are facing right now maybe it is in the client.js check one the url is fetching the right kind of data or not by manually |
I have the same issue |
The text was updated successfully, but these errors were encountered: