DEV Community

Matheus Bertoldo
Matheus Bertoldo

Posted on

{HELP}Collapse in map() react

HI, I'm doing a collapse on the map (), when I click to open a card it opens normal but when I click to open another card it first closes the card that I had opened for the second click to open the card. I would like to open a card and when opening another card, keep the previous card open.

Alt Text

up to my button:

Alt Text

component I want to show / hide:

Alt Text

Top comments (0)