How to remove entire row based on array indexes in ReactJs
This is my array 0:0 {value: 123} 0:1 {value: 124} 0:2 {value: 124} 1:0 {value: 120} 1:1 {value: 121} 1:2 {value: 124} 2:0 {value: 123} 2:1 {value: 121} 2:2 {value: 124} <div onClick={()=>onRemoveVariation(0, 2)}Remove</div> And this is my code const…