-
-
Notifications
You must be signed in to change notification settings - Fork 498
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
The provided src
attribute is an unsupported type ImageUrlBuilder.
#37
Comments
we have the same issue im searching in the SANITY DOCS there's no solution for that |
hey @RoyetteMillares @Mr-Nobody1, did any of you find any solution in this? |
wait i cant remember but i will check tomorrow btw thank you so much for
replying
…On Thu, Nov 3, 2022, 7:25 PM bond0887 ***@***.***> wrote:
hey @RoyetteMillares <https://github.com/RoyetteMillares> @Mr-Nobody1
<https://github.com/Mr-Nobody1>, did any of you find any solution in this?
—
Reply to this email directly, view it on GitHub
<#37 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQ4KHKHDYJC2B4CIYNAVDBTWGOOJNANCNFSM57Z6XOWA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
No, nothing worked for me. |
using async await instead of .then worked for me. const fetchAbouts = async () => { useEffect(() => { This code worked for me but I don't know the logic behind this, if anyone can explain it would be great. TIA |
Hi there, there is a discrepancy between the schema set up in sanity and the attribute being called here. In the testimonial schema, the name for the image is "imageurl", but in the code its given as (testimonials[currentIndex].imgurl). Simply change the imgurl to "imageurl" (or you can change the schema, up to you), and it should work. Was stuck on so long for this as well. |
Okay okay thank you for the information |
Thanks a lot @mdnaeem95 . This was very helpful |
The text was updated successfully, but these errors were encountered: