Working code:https://codesandbox.io/s/silly-dijkstra-l9c8m
The problem here is that the data entered in first table is also being displayed as the data in second table. I want to enter different data in both the tables and console log then individually.
See image for reference