React - trying to do the add function error = TypeError: state.notes.map is not a function

前端 未结 0 1600
一个人的身影
一个人的身影 2021-02-18 13:03

I\'m trying to tinker around this todo list app and the add function is throwing an error, can anyone explain why it\'s throwing off this error?

TypeError: state.notes.ma

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