I am using socket.io to add test orders to the state when the button is clicked on. Everything works fine when i click the button once. After i click it the second time it s