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

testimonials map issue #53

Open
cordovacarlos22 opened this issue Mar 8, 2023 · 6 comments
Open

testimonials map issue #53

cordovacarlos22 opened this issue Mar 8, 2023 · 6 comments

Comments

@cordovacarlos22
Copy link

had an issue while mapping over testimonials Img tag. I think there has been one on the sanity backend schema.
I tried to map over testimonials.Imgur but it didn't work. so I debug the data responsive with :
{ {console.log(testimonials[0].imageUrl.asset._ref)} } and now it returns whats supposed to be returned

Screenshot 2023-03-07 at 6 14 48 PM

Screenshot 2023-03-07 at 6 14 48 PM

this is the what it returns now
Screenshot 2023-03-07 at 6 16 28 PM

@cordovacarlos22
Copy link
Author

new line of code <img src={urlFor(testimonials[currentIndex].imageUrl.asset._ref)} alt={testimonials[currentIndex].name} />

@PyroMessiah86
Copy link

{testimonials[currentIndex].name}

did this fix this issues? Have you managed to fix the react tooltip? Having some issues with that in the skills.jsx file. Could you put a snippet of your skills file up if so? Thanks

@yomi3tech
Copy link

{testimonials[currentIndex].name}

did this fix this issues? Have you managed to fix the react tooltip? Having some issues with that in the skills.jsx file. Could you put a snippet of your skills file up if so? Thanks


{work.desc}

That should fix the tool tip issue, also you would have to import tooltip from 'react-tooltip'

@PyroMessiah86
Copy link

PyroMessiah86 commented Mar 13, 2023 via email

@lohargaurav00
Copy link

Hmm.... I've imported tooltip but it's not functioning right.

On Mon, 13 Mar 2023, 14:37 Emmanuel Abayomi Abikoye, < @.> wrote: [image: {testimonials[currentIndex].name}] did this fix this issues? Have you managed to fix the react tooltip? Having some issues with that in the skills.jsx file. Could you put a snippet of your skills file up if so? Thanks {work.desc} That should fix the tool tip issue, also you would have to import tooltip from 'react-tooltip' — Reply to this email directly, view it on GitHub <#53 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7PJUZ77JGOSJNC46WLSETW34PKZANCNFSM6AAAAAAVTG5RGQ . You are receiving this because you commented.Message ID: @. com>

technologies upgrade very fast this this you may prefer the documentation as react-tooltip upgraded its version fromv4-v5

@lohargaurav00
Copy link

new line of code <img src={urlFor(testimonials[currentIndex].imageUrl.asset._ref)} alt={testimonials[currentIndex].name} />

there is permanent fix for that let me work i will create a pull request which fix that

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

4 participants