adrianhajdin / project_professional_portfolio

This is a code repository for the corresponding YouTube video. In this tutorial we are going to build and deploy a real time chat application. Covered topics: React.js, SCSS, Framer Motion, Sanity
https://jsmastery.pro
2.07k stars 495 forks source link

Sanity Experiences #11

Open ronarthas opened 2 years ago

ronarthas commented 2 years ago

Hello, a bug exist with sanity and the Experiences collection : If you add 2 different pro experiences with 2 different year but, if they have the same name (when you add item) the tooltip in front give the same description for all experinces who have same name (developper full stack, front , ect ect ) image image

ronarthas commented 2 years ago

the problem come from id={work.name} in sanity Name are not unique so if you have same name conflic comme to fix that you need to change un Skills.jsx:

 -data-for={work._key}
 -key={work._key}
<ReactTooltip
                      id={work._key}