Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

All comments

  • Edmunds 170

    @Fansters

    Submitted

    I have one problem which i could not solve yet - How to open img modal using different thumbnail images. I will always open the first img on modal. And when i have opened the modal and circle trough the images and then close, the order remains the same. If you experiment yourself, you will understand what im talking about. Basically, i want to change the opening modal img whenever i chnage the thumbnail image.

    @ibtihelbs

    Posted

    in ImageModal file you should replace const [index, setIndex] = useState(0);

    to const [index, setIndex] = useState(props.modalImg);

    0
  • @ibtihelbs

    Posted

    ooh thank youuu soo much !! no I took the challenge as it is ....

    0