I make a setData (dataOther) but the data is not passed on to the state data, and the error "undefined is not an object" is displayed when I put the data in the va