All your product details share the same state. You need to extract a component with a single product details where each product will contain its own state.
Something like
data.map((obj) => (<ProductDeatils prodct={obj}/>)
In general, it's a good advice not to hesitate and split your application into components as much as possible