project_professional_portfolio
project_professional_portfolio copied to clipboard
testimonials map issue
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


this is the what it returns now
new line of code <img src={urlFor(testimonials[currentIndex].imageUrl.asset._ref)} alt={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
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
<Tooltip
id={work.name}
effect="solid"
arrowColor="#fff"
className="skills-tooltip"
>
{work.desc}
</Tooltip>
That should fix the tool tip issue, also you would have to import tooltip from 'react-tooltip'
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 https://github.com/adrianhajdin/project_professional_portfolio/issues/53#issuecomment-1466160643, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7PJUZ77JGOSJNC46WLSETW34PKZANCNFSM6AAAAAAVTG5RGQ . You are receiving this because you commented.Message ID: @.*** com>
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
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