React State read as undefined when used in if statement

前端 未结 0 399
北海茫月
北海茫月 2020-12-06 01:54

I am calling a function onClick of a Button to compare the values of different properties in my state. My problem is that once I put these different properties into an if-st

相关标签:
回答
  • 消灭零回复
提交回复
热议问题