Type Error when i try to Render Objects out of an array

前端 未结 0 541
温柔的废话
温柔的废话 2021-01-15 07:55

i get the following error when i try to load questions(Array) for a quiz from a db.json server.

TypeError: this.state.questions[this.state.currentQuestion] is undefin

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