I am experiencing a very weird situation where I am accepting a prop within Square that comes from Board. I initialize it as value and am trying to give alert when user clicks on any number. This should be ideally very very simple though, while value shows on the board as 1, if I click on it, I get what you see object in the picture within function.
I am following React official tutorial https://reactjs.org/tutorial/tutorial.html#completing-the-game